Index: Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
diff --git a/Source/core/layout/svg/LayoutSVGResourceClipper.cpp b/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
index abf1092c4b74cfc7473056648694d3e6efe4ffd7..4fb803efbf14d370040fca29a7229ec233d75475 100644 |
--- a/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
+++ b/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
@@ -247,8 +247,8 @@ bool LayoutSVGResourceClipper::hitTestClipContent(const FloatRect& objectBoundin |
if (!layoutObject->isSVGShape() && !layoutObject->isSVGText() && !isSVGUseElement(*childElement)) |
continue; |
IntPoint hitPoint; |
- HitTestResult result(hitPoint); |
- if (layoutObject->nodeAtFloatPoint(HitTestRequest(HitTestRequest::SVGClipContent), result, point, HitTestForeground)) |
+ HitTestResult result(HitTestRequest::SVGClipContent, hitPoint); |
+ if (layoutObject->nodeAtFloatPoint(result, point, HitTestForeground)) |
return true; |
} |