From 8f72e70a9fd78eec56623b3a62e68f16b7b27e28 Mon Sep 17 00:00:00 2001 From: Feng Qian <> Date: Fri, 10 Apr 2009 18:11:29 -0700 Subject: AI 145796: Land the WebKit merge @r42026. Automated import of CL 145796 --- WebCore/rendering/SVGRootInlineBox.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'WebCore/rendering/SVGRootInlineBox.h') diff --git a/WebCore/rendering/SVGRootInlineBox.h b/WebCore/rendering/SVGRootInlineBox.h index bfe9889..10c43ea 100644 --- a/WebCore/rendering/SVGRootInlineBox.h +++ b/WebCore/rendering/SVGRootInlineBox.h @@ -47,11 +47,15 @@ class SVGRootInlineBox : public RootInlineBox { public: SVGRootInlineBox(RenderObject* obj) : RootInlineBox(obj) + , m_height(0) { } virtual bool isSVGRootInlineBox() { return true; } + 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); @@ -80,6 +84,7 @@ private: SVGTextDecorationInfo retrievePaintServersForTextDecoration(RenderObject* start); private: + int m_height; Vector m_svgChars; Vector m_svgTextChunks; }; -- cgit v1.1