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

Unified Diff: third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.cpp

Issue 2536453002: Rename some functions about layout locations (Closed)
Patch Set: Add test 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/MultiColumnFragmentainerGroup.cpp
diff --git a/third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.cpp b/third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.cpp
index 207bd03e4206d4767929569812a691569581d6de..d2154a764a9e0673bd3fee9bff272e00f89e256d 100644
--- a/third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.cpp
+++ b/third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.cpp
@@ -127,12 +127,12 @@ LayoutSize MultiColumnFragmentainerGroup::flowThreadTranslationAtOffset(
LayoutRect portionRect(flowThreadPortionRectAt(columnIndex));
flowThread->flipForWritingMode(portionRect);
- portionRect.moveBy(flowThread->topLeftLocation());
+ portionRect.moveBy(flowThread->physicalLocation());
LayoutRect columnRect(columnRectAt(columnIndex));
columnRect.move(offsetFromColumnSet());
m_columnSet.flipForWritingMode(columnRect);
- columnRect.moveBy(m_columnSet.topLeftLocation());
+ columnRect.moveBy(m_columnSet.physicalLocation());
LayoutSize translationRelativeToFlowThread =
columnRect.location() - portionRect.location();

Powered by Google App Engine
This is Rietveld 408576698