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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

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/style/ComputedStyleConstants.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
index 42eb540a4a0dc8f6ffc37f039d9b822884c2d618..2692e2e1f1e1011c7d272f514d70a725ef6ec9bf 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
@@ -121,12 +121,12 @@ enum EBorderPrecedence {
enum OutlineIsAuto { OutlineIsAutoOff = 0, OutlineIsAutoOn };
-enum EPosition {
- StaticPosition,
- RelativePosition,
- AbsolutePosition,
- StickyPosition,
- FixedPosition
+enum class EPosition : unsigned {
+ kStatic,
+ kRelative,
+ kAbsolute,
+ kSticky,
+ kFixed
};
enum EMarginCollapse {
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | third_party/WebKit/Source/web/FindInPageCoordinates.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698