Avoid manually handling quickLookWithEvent: if the immediate action gesture recognize...
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Jan 2015 10:56:59 +0000 (10:56 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Jan 2015 10:56:59 +0000 (10:56 +0000)
https://bugs.webkit.orgshow_bug.cgi?id=141018
<rdar://problem/19619999>

* UIProcess/API/mac/WKView.mm:
(-[WKView quickLookWithEvent:]):
Yosemite is 101000, not 10100.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179339 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/mac/WKView.mm

index fe3a354..92c6218 100644 (file)
@@ -1,3 +1,13 @@
+2015-01-29  Tim Horton  <timothy_horton@apple.com>
+
+        Avoid manually handling quickLookWithEvent: if the immediate action gesture recognizer will do Lookup for us
+        https://bugs.webkit.orgshow_bug.cgi?id=141018
+        <rdar://problem/19619999>
+
+        * UIProcess/API/mac/WKView.mm:
+        (-[WKView quickLookWithEvent:]):
+        Yosemite is 101000, not 10100.
+
 2015-01-28  Tim Horton  <timothy_horton@apple.com>
 
         Add API::{FrameInfo, NavigationAction, NavigationResponse} types
index cae3314..dba6916 100644 (file)
@@ -2855,7 +2855,7 @@ static void* keyValueObservingContext = &keyValueObservingContext;
     if (_data->_ignoresNonWheelEvents)
         return;
 
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 10100
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
     if (_data->_immediateActionGestureRecognizer) {
         [super quickLookWithEvent:event];
         return;