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

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

Issue 2667493002: Changed EPosition to an enum class and renamed its members (Closed)
Patch Set: Rebase Created 3 years, 10 months 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/LayoutGeometryMap.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutGeometryMap.cpp b/third_party/WebKit/Source/core/layout/LayoutGeometryMap.cpp
index ffcc1e67dd60e60da1ce66dbaaa38de228b51dba..989d93ade5b931da4d7d54a6beb988c1c6ba09c8 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGeometryMap.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutGeometryMap.cpp
@@ -195,7 +195,8 @@ static bool canMapBetweenLayoutObjects(const LayoutObject* layoutObject,
for (const LayoutObject* current = layoutObject;;
current = current->parent()) {
const ComputedStyle& style = current->styleRef();
- if (style.position() == FixedPosition || style.isFlippedBlocksWritingMode())
+ if (style.position() == EPosition::kFixed ||
+ style.isFlippedBlocksWritingMode())
return false;
if (current->style()->canContainFixedPositionObjects() ||
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698