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

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

Issue 2570463002: Moved -webkit-print-color-adjust property to be generated. (Closed)
Patch Set: Rebase Created 4 years 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.in » ('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 7f34a9788a39edaf47e65d3e40ee3b61e711947f..0c7b7cddc42ac40716c54786b2f432749bf59aac 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h
@@ -195,31 +195,31 @@ inline ColumnSpan CSSIdentifierValue::convertTo() const {
}
template <>
-inline CSSIdentifierValue::CSSIdentifierValue(PrintColorAdjust value)
+inline CSSIdentifierValue::CSSIdentifierValue(EPrintColorAdjust value)
: CSSValue(IdentifierClass) {
switch (value) {
- case PrintColorAdjust::Exact:
+ case EPrintColorAdjust::Exact:
m_valueID = CSSValueExact;
break;
- case PrintColorAdjust::Economy:
+ case EPrintColorAdjust::Economy:
m_valueID = CSSValueEconomy;
break;
}
}
template <>
-inline PrintColorAdjust CSSIdentifierValue::convertTo() const {
+inline EPrintColorAdjust CSSIdentifierValue::convertTo() const {
switch (m_valueID) {
case CSSValueEconomy:
- return PrintColorAdjust::Economy;
+ return EPrintColorAdjust::Economy;
case CSSValueExact:
- return PrintColorAdjust::Exact;
+ return EPrintColorAdjust::Exact;
default:
break;
}
ASSERT_NOT_REACHED();
- return PrintColorAdjust::Economy;
+ return EPrintColorAdjust::Economy;
}
template <>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698