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

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

Issue 2941623004: Generate enum/getters/setters/mappings for isolation. (Closed)
Patch Set: Created 3 years, 6 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/css/CSSProperties.json5 » ('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 5ef1f820691789b58f3d3a473cbadd3b0062344f..5f0e980eea953874ef0e2e247e08929ec012d83b 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
@@ -2355,34 +2355,6 @@ inline TouchAction CSSIdentifierValue::ConvertTo() const {
return TouchAction::kTouchActionNone;
}
-template <>
-inline CSSIdentifierValue::CSSIdentifierValue(EIsolation i)
- : CSSValue(kIdentifierClass) {
- switch (i) {
- case EIsolation::kAuto:
- value_id_ = CSSValueAuto;
- break;
- case EIsolation::kIsolate:
- value_id_ = CSSValueIsolate;
- break;
- }
-}
-
-template <>
-inline EIsolation CSSIdentifierValue::ConvertTo() const {
- switch (value_id_) {
- case CSSValueAuto:
- return EIsolation::kAuto;
- case CSSValueIsolate:
- return EIsolation::kIsolate;
- default:
- break;
- }
-
- NOTREACHED();
- return EIsolation::kAuto;
-}
-
template <>
inline CSSIdentifierValue::CSSIdentifierValue(CSSBoxType css_box)
: CSSValue(kIdentifierClass) {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSProperties.json5 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698