Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
index d362ad3ed16f1828ee47cc99cdce66ee2ddaf6cc..d95f1f656d63f77101dd2168c2af526c5b1cb519 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
@@ -966,14 +966,17 @@ static CSSValue* touchActionFlagsToCSSValue(TouchAction touchAction) |
list->append(*CSSPrimitiveValue::createIdentifier(CSSValuePanLeft)); |
else if (touchAction & TouchActionPanRight) |
list->append(*CSSPrimitiveValue::createIdentifier(CSSValuePanRight)); |
- |
if ((touchAction & TouchActionPanY) == TouchActionPanY) |
list->append(*CSSPrimitiveValue::createIdentifier(CSSValuePanY)); |
else if (touchAction & TouchActionPanUp) |
list->append(*CSSPrimitiveValue::createIdentifier(CSSValuePanUp)); |
else if (touchAction & TouchActionPanDown) |
list->append(*CSSPrimitiveValue::createIdentifier(CSSValuePanDown)); |
+ |
+ if ((touchAction & TouchActionPinchZoom) == TouchActionPinchZoom) |
+ list->append(*CSSPrimitiveValue::createIdentifier(CSSValuePinchZoom)); |
} |
+ |
ASSERT(list->length()); |
return list; |
} |