Title: [190573] trunk/Tools
Revision
190573
Author
[email protected]
Date
2015-10-05 13:33:56 -0700 (Mon, 05 Oct 2015)

Log Message

Fix the iOS 8 build again, where -[UIApplication _enqueueHIDEvent:] is not
available.

* WebKitTestRunner/ios/HIDEventGenerator.mm:
(-[HIDEventGenerator _sendMarkerHIDEventWithCompletionBlock:]):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (190572 => 190573)


--- trunk/Tools/ChangeLog	2015-10-05 20:31:41 UTC (rev 190572)
+++ trunk/Tools/ChangeLog	2015-10-05 20:33:56 UTC (rev 190573)
@@ -1,3 +1,11 @@
+2015-10-05  Simon Fraser  <[email protected]>
+
+        Fix the iOS 8 build again, where -[UIApplication _enqueueHIDEvent:] is not
+        available.
+
+        * WebKitTestRunner/ios/HIDEventGenerator.mm:
+        (-[HIDEventGenerator _sendMarkerHIDEventWithCompletionBlock:]):
+
 2015-10-05  Myles C. Maxfield  <[email protected]>
 
         Allow WKRetainPtrs to be used as keys in hashing data structures

Modified: trunk/Tools/WebKitTestRunner/ios/HIDEventGenerator.mm (190572 => 190573)


--- trunk/Tools/WebKitTestRunner/ios/HIDEventGenerator.mm	2015-10-05 20:31:41 UTC (rev 190572)
+++ trunk/Tools/WebKitTestRunner/ios/HIDEventGenerator.mm	2015-10-05 20:33:56 UTC (rev 190573)
@@ -261,7 +261,9 @@
             uint32_t contextID = [UIApplication sharedApplication].keyWindow._contextId;
             ASSERT(contextID);
             BKSHIDEventSetDigitizerInfo(markerEvent.get(), contextID, false, false, NULL, 0, 0);
+#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 90000
             [[UIApplication sharedApplication] _enqueueHIDEvent:markerEvent.get()];
+#endif
         });
     }
     return YES;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to