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

Unified Diff: third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h

Issue 2658953004: Rename EOverflowAnchor values with k prefix. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
index 0577d7a7366fb7beeb472f617644391c4ca6ff9a..cef699baa03e00b173ae495dab6a4f82f9034662 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
@@ -2796,13 +2796,13 @@ template <>
inline CSSIdentifierValue::CSSIdentifierValue(EOverflowAnchor e)
: CSSValue(IdentifierClass) {
switch (e) {
- case EOverflowAnchor::Visible:
+ case EOverflowAnchor::kVisible:
m_valueID = CSSValueVisible;
break;
- case EOverflowAnchor::None:
+ case EOverflowAnchor::kNone:
m_valueID = CSSValueNone;
break;
- case EOverflowAnchor::Auto:
+ case EOverflowAnchor::kAuto:
m_valueID = CSSValueAuto;
break;
}
@@ -2812,17 +2812,17 @@ template <>
inline EOverflowAnchor CSSIdentifierValue::convertTo() const {
switch (m_valueID) {
case CSSValueVisible:
- return EOverflowAnchor::Visible;
+ return EOverflowAnchor::kVisible;
case CSSValueNone:
- return EOverflowAnchor::None;
+ return EOverflowAnchor::kNone;
case CSSValueAuto:
- return EOverflowAnchor::Auto;
+ return EOverflowAnchor::kAuto;
default:
break;
}
NOTREACHED();
- return EOverflowAnchor::None;
+ return EOverflowAnchor::kNone;
}
template <>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698