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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineFlowBox.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/line/InlineFlowBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
index 9ae81abab5cadcac05a2b46b0f1d4756eb4e7cd7..c82fb1e91220dc534395ae116707bd733da56d94 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
@@ -72,7 +72,7 @@ LayoutUnit InlineFlowBox::getFlowSpacingLogicalWidth() {
}
LayoutRect InlineFlowBox::frameRect() const {
- return LayoutRect(topLeft(), size());
+ return LayoutRect(location(), size());
}
static void setHasTextDescendantsOnAncestors(InlineFlowBox* box) {

Powered by Google App Engine
This is Rietveld 408576698