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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutState.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/LayoutState.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutState.cpp b/third_party/WebKit/Source/core/layout/LayoutState.cpp
index a3f4bf14b8c53973c7977f18bddcd1286c6c819e..ab542023fee72bba23cafbec30f1484182cbaf64 100644
--- a/third_party/WebKit/Source/core/layout/LayoutState.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutState.cpp
@@ -79,7 +79,7 @@ LayoutState::LayoutState(LayoutBox& layoutObject,
// away we are from the start of the pagination context.
m_paginationOffset = m_next->m_paginationOffset;
bool fixed = layoutObject.isOutOfFlowPositioned() &&
- layoutObject.style()->position() == FixedPosition;
+ layoutObject.style()->position() == EPosition::kFixed;
if (fixed)
return;
m_paginationOffset =
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698