Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index 5540228ddd663f5b739f800fee3943ad7ad0de71..3098a2a85bd6b99737961914d230993aa8cefaf0 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -3749,11 +3749,6 @@ TouchAction EventHandler::intersectTouchAction(TouchAction action1, TouchAction |
TouchAction EventHandler::computeEffectiveTouchAction(const Node& node) |
{ |
- // Optimization to minimize risk of this new feature (behavior should be identical |
- // since there's no way to get non-default touch-action values). |
- if (!RuntimeEnabledFeatures::cssTouchActionEnabled()) |
- return TouchActionAuto; |
- |
// Start by permitting all actions, then walk the elements supporting |
// touch-action from the target node up to the nearest scrollable ancestor |
// and exclude any prohibited actions. |