summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/SVGInlineFlowBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/SVGInlineFlowBox.h')
-rw-r--r--WebCore/rendering/SVGInlineFlowBox.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/rendering/SVGInlineFlowBox.h b/WebCore/rendering/SVGInlineFlowBox.h
index bb31807..2742ca0 100644
--- a/WebCore/rendering/SVGInlineFlowBox.h
+++ b/WebCore/rendering/SVGInlineFlowBox.h
@@ -33,12 +33,19 @@ class SVGInlineFlowBox : public InlineFlowBox {
public:
SVGInlineFlowBox(RenderObject* obj)
: InlineFlowBox(obj)
+ , m_height(0)
{
}
+ virtual int height() const { return m_height; }
+ void setHeight(int h) { m_height = h; }
+
virtual void paint(RenderObject::PaintInfo&, int tx, int ty);
virtual int placeBoxesHorizontally(int x, int& leftPosition, int& rightPosition, bool& needsWordSpacing);
virtual int verticallyAlignBoxes(int heightOfBlock);
+
+private:
+ int m_height;
};
} // namespace WebCore