Index: Source/core/layout/svg/LayoutSVGText.cpp |
diff --git a/Source/core/layout/svg/LayoutSVGText.cpp b/Source/core/layout/svg/LayoutSVGText.cpp |
index e61e9f8401ce091637ba2f2534b3cf91b470f6aa..23bb34fd573a0d2697cbe367d287bcf7393a0bcc 100644 |
--- a/Source/core/layout/svg/LayoutSVGText.cpp |
+++ b/Source/core/layout/svg/LayoutSVGText.cpp |
@@ -416,9 +416,9 @@ RootInlineBox* LayoutSVGText::createRootInlineBox() |
return box; |
} |
-bool LayoutSVGText::nodeAtFloatPoint(const HitTestRequest& request, HitTestResult& result, const FloatPoint& pointInParent, HitTestAction hitTestAction) |
+bool LayoutSVGText::nodeAtFloatPoint(HitTestResult& result, const FloatPoint& pointInParent, HitTestAction hitTestAction) |
{ |
- PointerEventsHitRules hitRules(PointerEventsHitRules::SVG_TEXT_HITTESTING, request, style()->pointerEvents()); |
+ PointerEventsHitRules hitRules(PointerEventsHitRules::SVG_TEXT_HITTESTING, result.hitTestRequest(), style()->pointerEvents()); |
bool isVisible = (style()->visibility() == VISIBLE); |
if (isVisible || !hitRules.requireVisible) { |
if ((hitRules.canHitBoundingBox && !objectBoundingBox().isEmpty()) |
@@ -432,7 +432,7 @@ bool LayoutSVGText::nodeAtFloatPoint(const HitTestRequest& request, HitTestResul |
return false; |
HitTestLocation hitTestLocation(LayoutPoint(flooredIntPoint(localPoint))); |
- return LayoutBlock::nodeAtPoint(request, result, hitTestLocation, LayoutPoint(), hitTestAction); |
+ return LayoutBlock::nodeAtPoint(result, hitTestLocation, LayoutPoint(), hitTestAction); |
} |
} |