Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
index b6cc330f542350bd43bfb3fc6f6ef0ae1c1a6236..9c39ff598601bc5f7b2da87339273e9ddce9ce79 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
@@ -89,6 +89,13 @@ void LayoutSVGBlock::mapLocalToAncestor(const LayoutBoxModelObject* ancestor, Tr |
SVGLayoutSupport::mapLocalToAncestor(this, ancestor, transformState, wasFixed, paintInvalidationState); |
} |
+void LayoutSVGBlock::mapAncestorToLocal(const LayoutBoxModelObject* ancestor, TransformState& transformState, MapCoordinatesFlags) const |
+{ |
+ if (this == ancestor) |
+ return; |
+ SVGLayoutSupport::mapAncestorToLocal(*this, ancestor, transformState); |
+} |
+ |
const LayoutObject* LayoutSVGBlock::pushMappingToContainer(const LayoutBoxModelObject* ancestorToStopAt, LayoutGeometryMap& geometryMap) const |
{ |
return SVGLayoutSupport::pushMappingToContainer(this, ancestorToStopAt, geometryMap); |