Title: [177604] trunk/Source/WebKit2
Revision
177604
Author
[email protected]
Date
2014-12-19 16:22:25 -0800 (Fri, 19 Dec 2014)

Log Message

Fix the build.

* UIProcess/API/mac/WKView.mm:
(-[WKView _setIgnoresNonWheelEvents:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (177603 => 177604)


--- trunk/Source/WebKit2/ChangeLog	2014-12-20 00:17:37 UTC (rev 177603)
+++ trunk/Source/WebKit2/ChangeLog	2014-12-20 00:22:25 UTC (rev 177604)
@@ -1,3 +1,10 @@
+2014-12-19  Timothy Horton  <[email protected]>
+
+        Fix the build.
+
+        * UIProcess/API/mac/WKView.mm:
+        (-[WKView _setIgnoresNonWheelEvents:]):
+
 2014-12-19  Beth Dakin  <[email protected]>
 
         Preview popovers don't show an arrow for large links

Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm (177603 => 177604)


--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2014-12-20 00:17:37 UTC (rev 177603)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2014-12-20 00:22:25 UTC (rev 177604)
@@ -4106,10 +4106,12 @@
     _data->_ignoresNonWheelEvents = ignoresNonWheelEvents;
     _data->_page->setShouldDispatchFakeMouseMoveEvents(!ignoresNonWheelEvents);
 
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
     if (ignoresNonWheelEvents)
         [self removeGestureRecognizer:_data->_immediateActionGestureRecognizer.get()];
     else
         [self addGestureRecognizer:_data->_immediateActionGestureRecognizer.get()];
+#endif
 }
 
 - (BOOL)_ignoresNonWheelEvents
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to