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

Unified Diff: sky/engine/core/css/CSSPrimitiveValueMappings.h

Issue 762473003: Remove webkit-print-color-adjust (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/css/CSSComputedStyleDeclaration.cpp ('k') | sky/engine/core/css/CSSProperties.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/CSSPrimitiveValueMappings.h
diff --git a/sky/engine/core/css/CSSPrimitiveValueMappings.h b/sky/engine/core/css/CSSPrimitiveValueMappings.h
index f605d07e0c05a452c48026198025d782463b0ee9..c5ddf956737b6eebc174592a659c11b40c5d886c 100644
--- a/sky/engine/core/css/CSSPrimitiveValueMappings.h
+++ b/sky/engine/core/css/CSSPrimitiveValueMappings.h
@@ -127,37 +127,6 @@ template<> inline CSSPrimitiveValue::operator ColumnFill() const
return ColumnFillBalance;
}
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(PrintColorAdjust value)
- : CSSValue(PrimitiveClass)
-{
- m_primitiveUnitType = CSS_VALUE_ID;
- switch (value) {
- case PrintColorAdjustExact:
- m_value.valueID = CSSValueExact;
- break;
- case PrintColorAdjustEconomy:
- m_value.valueID = CSSValueEconomy;
- break;
- }
-}
-
-template<> inline CSSPrimitiveValue::operator PrintColorAdjust() const
-{
- ASSERT(isValueID());
- switch (m_value.valueID) {
- case CSSValueEconomy:
- return PrintColorAdjustEconomy;
- case CSSValueExact:
- return PrintColorAdjustExact;
- default:
- break;
- }
-
- ASSERT_NOT_REACHED();
- return PrintColorAdjustEconomy;
-}
-
-
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EBorderStyle e)
: CSSValue(PrimitiveClass)
{
« no previous file with comments | « sky/engine/core/css/CSSComputedStyleDeclaration.cpp ('k') | sky/engine/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698