Title: [186235] trunk/Source/WebKit2
Revision
186235
Author
ander...@apple.com
Date
2015-07-02 14:39:37 -0700 (Thu, 02 Jul 2015)

Log Message

Instead of requiring ToT UIKIt, check that UI_WEB_TOUCH_EVENT_HAS_IS_POTENTIAL_TAP is defined to 1
https://bugs.webkit.org/show_bug.cgi?id=146558

Reviewed by Beth Dakin.

* Shared/ios/NativeWebTouchEventIOS.mm:
(WebKit::NativeWebTouchEvent::NativeWebTouchEvent):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (186234 => 186235)


--- trunk/Source/WebKit2/ChangeLog	2015-07-02 20:47:57 UTC (rev 186234)
+++ trunk/Source/WebKit2/ChangeLog	2015-07-02 21:39:37 UTC (rev 186235)
@@ -1,3 +1,13 @@
+2015-07-02  Anders Carlsson  <ander...@apple.com>
+
+        Instead of requiring ToT UIKIt, check that UI_WEB_TOUCH_EVENT_HAS_IS_POTENTIAL_TAP is defined to 1
+        https://bugs.webkit.org/show_bug.cgi?id=146558
+
+        Reviewed by Beth Dakin.
+
+        * Shared/ios/NativeWebTouchEventIOS.mm:
+        (WebKit::NativeWebTouchEvent::NativeWebTouchEvent):
+
 2015-07-02  Brady Eidson  <beid...@apple.com>
 
         Remove change I accidentally committed in r186232

Modified: trunk/Source/WebKit2/Shared/ios/NativeWebTouchEventIOS.mm (186234 => 186235)


--- trunk/Source/WebKit2/Shared/ios/NativeWebTouchEventIOS.mm	2015-07-02 20:47:57 UTC (rev 186234)
+++ trunk/Source/WebKit2/Shared/ios/NativeWebTouchEventIOS.mm	2015-07-02 21:39:37 UTC (rev 186235)
@@ -102,7 +102,7 @@
         event->timestamp,
         extractWebTouchPoint(event),
         positionForCGPoint(event->locationInDocumentCoordinates),
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 90000
+#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 90000 && defined UI_WEB_TOUCH_EVENT_HAS_IS_POTENTIAL_TAP && UI_WEB_TOUCH_EVENT_HAS_IS_POTENTIAL_TAP
         event->isPotentialTap,
 #else
         true,
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to