Index: Source/core/css/CSSPrimitiveValueMappings.h |
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h |
old mode 100644 |
new mode 100755 |
index 4b5b0a4c8493ad9548173f1ff8e6c1a91db761cc..3f386133793d5f76d7d855d3902bd8385b9c0eec |
--- a/Source/core/css/CSSPrimitiveValueMappings.h |
+++ b/Source/core/css/CSSPrimitiveValueMappings.h |
@@ -4866,20 +4866,6 @@ template<> inline CSSPrimitiveValue::operator EMaskType() const |
return MT_LUMINANCE; |
} |
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(TouchAction t) |
- : CSSValue(PrimitiveClass) |
-{ |
- m_primitiveUnitType = CSS_VALUE_ID; |
- switch (t) { |
- case TouchActionNone: |
- m_value.valueID = CSSValueNone; |
- break; |
- case TouchActionAuto: |
- m_value.valueID = CSSValueAuto; |
- break; |
- } |
-} |
- |
template<> inline CSSPrimitiveValue::operator TouchAction() const |
{ |
ASSERT(isValueID()); |
@@ -4888,6 +4874,10 @@ template<> inline CSSPrimitiveValue::operator TouchAction() const |
return TouchActionNone; |
case CSSValueAuto: |
return TouchActionAuto; |
+ case CSSValuePanX: |
+ return TouchActionPanX; |
+ case CSSValuePanY: |
+ return TouchActionPanY; |
default: |
break; |
} |