Index: Source/core/css/CSSPrimitiveValueMappings.h |
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h |
index 5502a171775564bd46bc3dd61a5443a5e63b4e71..bd73debcf3b41f1f4b3e0bc5f96dc8a21bcf0993 100644 |
--- a/Source/core/css/CSSPrimitiveValueMappings.h |
+++ b/Source/core/css/CSSPrimitiveValueMappings.h |
@@ -4081,86 +4081,6 @@ template<> inline CSSPrimitiveValue::operator ETransformStyle3D() const |
return TransformStyle3DFlat; |
} |
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(WrapFlow wrapFlow) |
-: CSSValue(PrimitiveClass) |
-{ |
- m_primitiveUnitType = CSS_VALUE_ID; |
- switch (wrapFlow) { |
- case WrapFlowAuto: |
- m_value.valueID = CSSValueAuto; |
- break; |
- case WrapFlowBoth: |
- m_value.valueID = CSSValueBoth; |
- break; |
- case WrapFlowStart: |
- m_value.valueID = CSSValueStart; |
- break; |
- case WrapFlowEnd: |
- m_value.valueID = CSSValueEnd; |
- break; |
- case WrapFlowMaximum: |
- m_value.valueID = CSSValueMaximum; |
- break; |
- case WrapFlowClear: |
- m_value.valueID = CSSValueClear; |
- break; |
- } |
-} |
- |
-template<> inline CSSPrimitiveValue::operator WrapFlow() const |
-{ |
- ASSERT(isValueID()); |
- switch (m_value.valueID) { |
- case CSSValueAuto: |
- return WrapFlowAuto; |
- case CSSValueBoth: |
- return WrapFlowBoth; |
- case CSSValueStart: |
- return WrapFlowStart; |
- case CSSValueEnd: |
- return WrapFlowEnd; |
- case CSSValueMaximum: |
- return WrapFlowMaximum; |
- case CSSValueClear: |
- return WrapFlowClear; |
- default: |
- break; |
- } |
- |
- ASSERT_NOT_REACHED(); |
- return WrapFlowAuto; |
-} |
- |
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(WrapThrough wrapThrough) |
-: CSSValue(PrimitiveClass) |
-{ |
- m_primitiveUnitType = CSS_VALUE_ID; |
- switch (wrapThrough) { |
- case WrapThroughWrap: |
- m_value.valueID = CSSValueWrap; |
- break; |
- case WrapThroughNone: |
- m_value.valueID = CSSValueNone; |
- break; |
- } |
-} |
- |
-template<> inline CSSPrimitiveValue::operator WrapThrough() const |
-{ |
- ASSERT(isValueID()); |
- switch (m_value.valueID) { |
- case CSSValueWrap: |
- return WrapThroughWrap; |
- case CSSValueNone: |
- return WrapThroughNone; |
- default: |
- break; |
- } |
- |
- ASSERT_NOT_REACHED(); |
- return WrapThroughWrap; |
-} |
- |
template<> inline CSSPrimitiveValue::operator GridAutoFlow() const |
{ |
ASSERT(isValueID()); |