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

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

Issue 2536453002: Rename some functions about layout locations (Closed)
Patch Set: - 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/line/InlineTextBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
index 4de3f2b63023260a6f399e8c966b70934080ebdd..e71d430f8282730ba003d72e1876662196616c5b 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
@@ -411,7 +411,7 @@ bool InlineTextBox::nodeAtPoint(HitTestResult& result,
if (isLineBreak() || m_truncation == cFullTruncation)
return false;
- LayoutPoint boxOrigin = locationIncludingFlipping();
+ LayoutPoint boxOrigin = physicalLocation();
boxOrigin.moveBy(accumulatedOffset);
LayoutRect rect(boxOrigin, size());
if (visibleToHitTestRequest(result.hitTestRequest()) &&

Powered by Google App Engine
This is Rietveld 408576698