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

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

Issue 1074953004: Remove empty-cells (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 27a6b5dd2ce16bffabc057e638069d52c3f1b8d6..bd420682c05539c6dd31636f085a42f0052517c6 100644
--- a/sky/engine/core/css/CSSPrimitiveValueMappings.h
+++ b/sky/engine/core/css/CSSPrimitiveValueMappings.h
@@ -717,36 +717,6 @@ template<> inline CSSPrimitiveValue::operator EDisplay() const
return display;
}
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EEmptyCell e)
- : CSSValue(PrimitiveClass)
-{
- m_primitiveUnitType = CSS_VALUE_ID;
- switch (e) {
- case SHOW:
- m_value.valueID = CSSValueShow;
- break;
- case HIDE:
- m_value.valueID = CSSValueHide;
- break;
- }
-}
-
-template<> inline CSSPrimitiveValue::operator EEmptyCell() const
-{
- ASSERT(isValueID());
- switch (m_value.valueID) {
- case CSSValueShow:
- return SHOW;
- case CSSValueHide:
- return HIDE;
- default:
- break;
- }
-
- ASSERT_NOT_REACHED();
- return SHOW;
-}
-
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EJustifyContent 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