Index: Source/core/rendering/svg/RenderSVGShape.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGShape.cpp b/Source/core/rendering/svg/RenderSVGShape.cpp |
index 153640941264a71a2235342ae5c816f6dccde374..2de4db9f622b797d2cb45a2b32247b908f988e99 100644 |
--- a/Source/core/rendering/svg/RenderSVGShape.cpp |
+++ b/Source/core/rendering/svg/RenderSVGShape.cpp |
@@ -302,9 +302,8 @@ bool RenderSVGShape::nodeAtFloatPoint(const HitTestRequest& request, HitTestResu |
if (hitTestAction != HitTestForeground) |
return false; |
- FloatPoint localPoint = m_localTransform.inverse().mapPoint(pointInParent); |
- |
- if (!SVGRenderSupport::pointInClippingArea(this, localPoint)) |
+ FloatPoint localPoint; |
+ if (!SVGRenderSupport::transformToUserSpaceAndCheckClipping(this, m_localTransform, pointInParent, localPoint)) |
return false; |
PointerEventsHitRules hitRules(PointerEventsHitRules::SVG_GEOMETRY_HITTESTING, request, style()->pointerEvents()); |