Index: third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp b/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp |
index 2106b3e8c666a8a49b0883f6d1e01368709a6605..40eee7188222f0b7d961bb1787ed51ebc4b5c097 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp |
@@ -299,7 +299,7 @@ bool SVGInlineTextBox::nodeAtPoint(HitTestResult& result, |
(hitRules.canHitFill && |
(getLineLayoutItem().style()->svgStyle().hasFill() || |
!hitRules.requireFill))) { |
- LayoutRect rect(topLeft(), size()); |
+ LayoutRect rect(location(), size()); |
rect.moveBy(accumulatedOffset); |
if (locationInContainer.intersects(rect)) { |
LineLayoutSVGInlineText lineLayoutItem = |