Index: Source/core/layout/svg/LayoutSVGText.h |
diff --git a/Source/core/layout/svg/LayoutSVGText.h b/Source/core/layout/svg/LayoutSVGText.h |
index aacd1858454cc0e288ab9b76f3c3df7a0962568b..a179b39b3064cfa040f262ceec1d6f2b3e09fa47 100644 |
--- a/Source/core/layout/svg/LayoutSVGText.h |
+++ b/Source/core/layout/svg/LayoutSVGText.h |
@@ -30,7 +30,6 @@ namespace blink { |
class LayoutSVGInlineText; |
class SVGTextElement; |
-class LayoutSVGInlineText; |
class LayoutSVGText final : public LayoutSVGBlock { |
public: |
@@ -43,6 +42,8 @@ public: |
void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; } |
void setNeedsTextMetricsUpdate() { m_needsTextMetricsUpdate = true; } |
FloatRect paintInvalidationRectInLocalCoordinates() const override; |
+ FloatRect objectBoundingBox() const override { return FloatRect(frameRect()); } |
+ FloatRect strokeBoundingBox() const override; |
static LayoutSVGText* locateLayoutSVGTextAncestor(LayoutObject*); |
static const LayoutSVGText* locateLayoutSVGTextAncestor(const LayoutObject*); |
@@ -75,9 +76,6 @@ private: |
void removeChild(LayoutObject*) override; |
void willBeDestroyed() override; |
- FloatRect objectBoundingBox() const override { return FloatRect(frameRect()); } |
- FloatRect strokeBoundingBox() const override; |
- |
RootInlineBox* createRootInlineBox() override; |
bool shouldHandleSubtreeMutations() const; |