Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.h |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.h |
index 61bf92e1d26ab1518bade0148fe9793df375e9cb..ce6422d7e6786865b53f975c36117e24170aaa02 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.h |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.h |
@@ -53,7 +53,7 @@ class LayoutSVGForeignObject final : public LayoutSVGBlock { |
void layout() override; |
FloatRect objectBoundingBox() const override { |
- return FloatRect(FloatPoint(), FloatSize(size())); |
+ return FloatRect(frameRect()); |
} |
FloatRect strokeBoundingBox() const override { return objectBoundingBox(); } |
FloatRect visualRectInLocalSVGCoordinates() const override { |
@@ -70,8 +70,6 @@ class LayoutSVGForeignObject final : public LayoutSVGBlock { |
void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; } |
- AffineTransform localToSVGParentTransform() const override; |
- |
private: |
LayoutUnit elementX() const; |
LayoutUnit elementY() const; |