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

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

Issue 1075023002: Remove CSS table-layout property. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 105b1afc66a684ddbe7146a8409352f4b9eaada8..27a6b5dd2ce16bffabc057e638069d52c3f1b8d6 100644
--- a/sky/engine/core/css/CSSPrimitiveValueMappings.h
+++ b/sky/engine/core/css/CSSPrimitiveValueMappings.h
@@ -1042,36 +1042,6 @@ template<> inline CSSPrimitiveValue::operator EPosition() const
return StaticPosition;
}
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(ETableLayout e)
- : CSSValue(PrimitiveClass)
-{
- m_primitiveUnitType = CSS_VALUE_ID;
- switch (e) {
- case TAUTO:
- m_value.valueID = CSSValueAuto;
- break;
- case TFIXED:
- m_value.valueID = CSSValueFixed;
- break;
- }
-}
-
-template<> inline CSSPrimitiveValue::operator ETableLayout() const
-{
- ASSERT(isValueID());
- switch (m_value.valueID) {
- case CSSValueFixed:
- return TFIXED;
- case CSSValueAuto:
- return TAUTO;
- default:
- break;
- }
-
- ASSERT_NOT_REACHED();
- return TAUTO;
-}
-
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(ETextAlign 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