Index: Source/core/css/CSSPrimitiveValueMappings.h |
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h |
index eb64b56daa7ab30649d8e7aefd80b26d1a8bfff0..8c0d162d3f02de7fd22a3550c280b67254b05a12 100644 |
--- a/Source/core/css/CSSPrimitiveValueMappings.h |
+++ b/Source/core/css/CSSPrimitiveValueMappings.h |
@@ -1964,36 +1964,6 @@ template<> inline CSSPrimitiveValue::operator EMarqueeBehavior() const |
return MNONE; |
} |
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(RegionFragment e) |
- : CSSValue(PrimitiveClass) |
-{ |
- m_primitiveUnitType = CSS_VALUE_ID; |
- switch (e) { |
- case AutoRegionFragment: |
- m_value.valueID = CSSValueAuto; |
- break; |
- case BreakRegionFragment: |
- m_value.valueID = CSSValueBreak; |
- break; |
- } |
-} |
- |
-template<> inline CSSPrimitiveValue::operator RegionFragment() const |
-{ |
- ASSERT(isValueID()); |
- switch (m_value.valueID) { |
- case CSSValueAuto: |
- return AutoRegionFragment; |
- case CSSValueBreak: |
- return BreakRegionFragment; |
- default: |
- break; |
- } |
- |
- ASSERT_NOT_REACHED(); |
- return AutoRegionFragment; |
-} |
- |
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EMarqueeDirection e) |
: CSSValue(PrimitiveClass) |
{ |