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

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

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 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 0b1dbb416c183db51807ba35540f00f06079fa37..af943bded8ea8c144769b70c8ccc62559ec6fc46 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -1482,7 +1482,7 @@ static CSSValue* valueForContentData(const ComputedStyle& style) {
CSSCustomIdentValue::create(counter->identifier());
CSSStringValue* separator = CSSStringValue::create(counter->separator());
CSSValueID listStyleIdent = CSSValueNone;
- if (counter->listStyle() != EListStyleType::None) {
+ if (counter->listStyle() != EListStyleType::kNone) {
// TODO(sashab): Change this to use a converter instead of
// CSSPrimitiveValueMappings.
listStyleIdent =
@@ -2114,7 +2114,7 @@ const CSSValue* ComputedStyleCSSValueMapping::get(
return list;
}
case CSSPropertyBorderCollapse:
- if (style.borderCollapse() == EBorderCollapse::Collapse)
+ if (style.borderCollapse() == EBorderCollapse::kCollapse)
return CSSIdentifierValue::create(CSSValueCollapse);
return CSSIdentifierValue::create(CSSValueSeparate);
case CSSPropertyBorderSpacing: {

Powered by Google App Engine
This is Rietveld 408576698