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

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 b6bddaeb3e3d9ea2c6e002f796c4479f510ae056..7801d79449800b25fa6af769aed0fd6c4dc8ba7f 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: {
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperty.cpp ('k') | third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698