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

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

Issue 677843004: Remove text-combine. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « 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 afa5b6cd272d9c211a81e733f4fc169c8dd15b71..6eea201f074cfee3c10a0093f13f2f0bc2f74c84 100644
--- a/sky/engine/core/css/CSSPrimitiveValueMappings.h
+++ b/sky/engine/core/css/CSSPrimitiveValueMappings.h
@@ -2441,36 +2441,6 @@ template<> inline CSSPrimitiveValue::operator TextDirection() const
return LTR;
}
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(TextCombine e)
- : CSSValue(PrimitiveClass)
-{
- m_primitiveUnitType = CSS_VALUE_ID;
- switch (e) {
- case TextCombineNone:
- m_value.valueID = CSSValueNone;
- break;
- case TextCombineHorizontal:
- m_value.valueID = CSSValueHorizontal;
- break;
- }
-}
-
-template<> inline CSSPrimitiveValue::operator TextCombine() const
-{
- ASSERT(isValueID());
- switch (m_value.valueID) {
- case CSSValueNone:
- return TextCombineNone;
- case CSSValueHorizontal:
- return TextCombineHorizontal;
- default:
- break;
- }
-
- ASSERT_NOT_REACHED();
- return TextCombineNone;
-}
-
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(TextEmphasisPosition position)
: 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