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 7c0eb62517af1c25c2ce38ccd07fd790c14a380a..a9d15577a710c694fd14ef482f689822391171de 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(), LayoutSize(logicalWidth(), logicalHeight())); |
+ LayoutRect rect(locationIncludingFlipping(), size()); |
rect.moveBy(accumulatedOffset); |
if (locationInContainer.intersects(rect)) { |
LineLayoutSVGInlineText lineLayoutItem = |