Index: third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp b/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp |
index 93a36cd89618183758faf1a3b9a7b3b5ed08960d..4b0dabbc6b4f76f0b0f777be5f9a4813c1f1f3a8 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp |
@@ -126,7 +126,7 @@ InlineBox* SVGRootInlineBox::closestLeafChildForPosition( |
continue; |
closestLeaf = leaf; |
- if (point.x() < leaf->left() + leaf->logicalWidth()) |
+ if (point.x() < leaf->x() + leaf->logicalWidth()) |
return leaf; |
} |