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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 2845893002: Make EBoxDecorationBreak an enum class. (Closed)
Patch Set: Rebase Created 3 years, 8 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/css/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index 889057eb9b0c915b6b148087dfc6b2a5e37851bc..a1305d36c7fdf601aedf7655609931933dfecf87 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -2273,7 +2273,7 @@ const CSSValue* ComputedStyleCSSValueMapping::Get(
case CSSPropertyWebkitBoxAlign:
return CSSIdentifierValue::Create(style.BoxAlign());
case CSSPropertyWebkitBoxDecorationBreak:
- if (style.BoxDecorationBreak() == kBoxDecorationBreakSlice)
+ if (style.BoxDecorationBreak() == EBoxDecorationBreak::kSlice)
return CSSIdentifierValue::Create(CSSValueSlice);
return CSSIdentifierValue::Create(CSSValueClone);
case CSSPropertyWebkitBoxDirection:

Powered by Google App Engine
This is Rietveld 408576698