Index: Source/core/layout/svg/LayoutSVGText.h |
diff --git a/Source/core/layout/svg/LayoutSVGText.h b/Source/core/layout/svg/LayoutSVGText.h |
index 247682bb793d9e4d53122400bfe6d4c1cc134d5e..aacd1858454cc0e288ab9b76f3c3df7a0962568b 100644 |
--- a/Source/core/layout/svg/LayoutSVGText.h |
+++ b/Source/core/layout/svg/LayoutSVGText.h |
@@ -75,7 +75,7 @@ private: |
void removeChild(LayoutObject*) override; |
void willBeDestroyed() override; |
- FloatRect objectBoundingBox() const override { return frameRect(); } |
+ FloatRect objectBoundingBox() const override { return FloatRect(frameRect()); } |
FloatRect strokeBoundingBox() const override; |
RootInlineBox* createRootInlineBox() override; |