Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(475)

Unified Diff: third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp

Issue 2536453002: Rename some functions about layout locations (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698