Index: Source/core/layout/svg/line/SVGInlineTextBox.cpp |
diff --git a/Source/core/layout/svg/line/SVGInlineTextBox.cpp b/Source/core/layout/svg/line/SVGInlineTextBox.cpp |
index 654844c83a0ec105d46af77158d964fbde6a2d87..bace1c3c7775577c8a0ba49258fbb9416611b81f 100644 |
--- a/Source/core/layout/svg/line/SVGInlineTextBox.cpp |
+++ b/Source/core/layout/svg/line/SVGInlineTextBox.cpp |
@@ -262,12 +262,12 @@ FloatRectWillBeLayoutRect SVGInlineTextBox::calculateBoundaries() const |
return textRect; |
} |
-bool SVGInlineTextBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit, LayoutUnit) |
+bool SVGInlineTextBox::nodeAtPoint(HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit, LayoutUnit) |
{ |
// FIXME: integrate with InlineTextBox::nodeAtPoint better. |
ASSERT(!isLineBreak()); |
- PointerEventsHitRules hitRules(PointerEventsHitRules::SVG_TEXT_HITTESTING, request, layoutObject().style()->pointerEvents()); |
+ PointerEventsHitRules hitRules(PointerEventsHitRules::SVG_TEXT_HITTESTING, result.hitTestRequest(), layoutObject().style()->pointerEvents()); |
bool isVisible = layoutObject().style()->visibility() == VISIBLE; |
if (isVisible || !hitRules.requireVisible) { |
if (hitRules.canHitBoundingBox |
@@ -280,7 +280,7 @@ bool SVGInlineTextBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& |
// to LayoutUnit-based types is complete (crbug.com/321237) |
if (locationInContainer.intersects(rect.rawValue())) { |
layoutObject().updateHitTestResult(result, locationInContainer.point() - toLayoutSize(accumulatedOffset)); |
- if (!result.addNodeToListBasedTestResult(layoutObject().node(), request, locationInContainer, rect.rawValue())) |
+ if (!result.addNodeToListBasedTestResult(layoutObject().node(), locationInContainer, rect.rawValue())) |
return true; |
} |
} |