Index: Source/core/rendering/svg/RenderSVGContainer.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGContainer.cpp b/Source/core/rendering/svg/RenderSVGContainer.cpp |
index 7fe53831e023147e09314c1c0ac1abb8bed544ee..69f9171883b1fb0b6e45c95967d2ac6722a75a9e 100644 |
--- a/Source/core/rendering/svg/RenderSVGContainer.cpp |
+++ b/Source/core/rendering/svg/RenderSVGContainer.cpp |
@@ -170,9 +170,8 @@ bool RenderSVGContainer::nodeAtFloatPoint(const HitTestRequest& request, HitTest |
if (!pointIsInsideViewportClip(pointInParent)) |
return false; |
- FloatPoint localPoint = localToParentTransform().inverse().mapPoint(pointInParent); |
- |
- if (!SVGRenderSupport::pointInClippingArea(this, localPoint)) |
+ FloatPoint localPoint; |
+ if (!SVGRenderSupport::transformToUserSpaceAndCheckClipping(this, localToParentTransform(), pointInParent, localPoint)) |
return false; |
for (RenderObject* child = lastChild(); child; child = child->previousSibling()) { |