Limit user-agent interactions based on the touch-action property on iOS
https://bugs.webkit.org/show_bug.cgi?id=193447

Unreviewed build fix.

* UIProcess/ios/WKContentViewInteraction.mm:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@240587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog
index 93ed07c..e90a49d 100644
--- a/Source/WebKit/ChangeLog
+++ b/Source/WebKit/ChangeLog
@@ -1,3 +1,12 @@
+2019-01-28  Antoine Quint  <graouts@apple.com>
+
+        Limit user-agent interactions based on the touch-action property on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=193447
+
+        Unreviewed build fix.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+
 2019-01-28  Brent Fulgham  <bfulgham@apple.com>
 
         Remove the UIProcess components of the ResourceLoadStatistics code
diff --git a/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm b/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
index 86c3d43..3f42587 100644
--- a/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
+++ b/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
@@ -1163,6 +1163,7 @@
 }
 
 #if ENABLE(POINTER_EVENTS)
+#if ENABLE(TOUCH_EVENTS)
 - (void)_handleTouchActionsForTouchEvent:(const WebKit::NativeWebTouchEvent&)touchEvent
 {
     auto* scrollingCoordinator = _page->scrollingCoordinatorProxy();
@@ -1191,6 +1192,7 @@
             scrollingCoordinator->clearTouchDataForTouchIdentifier(touchPoint.identifier());
     }
 }
+#endif
 
 - (void)_resetPanningPreventionFlags
 {