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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc

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/ng/ng_out_of_flow_layout_part.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc
index 85d2fe9f999dd0361d568190207eb9824e284c0c..aba5299f465496c50ddabab26059d7440e4fb461 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc
@@ -27,8 +27,8 @@ bool IsContainingBlockForAbsoluteDescendant(
bool contains_absolute =
container_style.canContainAbsolutePositionObjects() || contains_fixed;
- return (contains_absolute && position == AbsolutePosition) ||
- (contains_fixed && position == FixedPosition);
+ return (contains_absolute && position == EPosition::kAbsolute) ||
+ (contains_fixed && position == EPosition::kFixed);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698