Index: Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
diff --git a/Source/core/layout/svg/LayoutSVGResourceClipper.cpp b/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
index 6310705d8360ca8bd2c25c9031ac200554994a0a..373576e484fd9989c6f3f7b05f9c9825685a4de3 100644 |
--- a/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
+++ b/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
@@ -247,8 +247,9 @@ 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)) |
+ HitTestRequest request(HitTestRequest::SVGClipContent); |
+ HitTestResult result(request, hitPoint); |
Rick Byers
2015/03/31 00:51:00
nit: might as well just put this inline rather tha
ramya.v
2015/03/31 09:41:36
Done.
|
+ if (layoutObject->nodeAtFloatPoint(result, point, HitTestForeground)) |
return true; |
} |