Title: [256105] trunk/Source/WebKit
Revision
256105
Author
[email protected]
Date
2020-02-09 14:42:30 -0800 (Sun, 09 Feb 2020)

Log Message

Fix the watchOS build after <rdar://problem/56134081>
https://bugs.webkit.org/show_bug.cgi?id=207443
<rdar://problem/59295173>

Reviewed by Maciej Stachowiak.

Use the version of the SPI that's guaranteed to be available across all platforms.

* UIProcess/ios/WKContentViewInteraction.mm:
(gestureRecognizerModifierFlags):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (256104 => 256105)


--- trunk/Source/WebKit/ChangeLog	2020-02-09 21:36:53 UTC (rev 256104)
+++ trunk/Source/WebKit/ChangeLog	2020-02-09 22:42:30 UTC (rev 256105)
@@ -1,3 +1,16 @@
+2020-02-09  Wenson Hsieh  <[email protected]>
+
+        Fix the watchOS build after <rdar://problem/56134081>
+        https://bugs.webkit.org/show_bug.cgi?id=207443
+        <rdar://problem/59295173>
+
+        Reviewed by Maciej Stachowiak.
+
+        Use the version of the SPI that's guaranteed to be available across all platforms.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (gestureRecognizerModifierFlags):
+
 2020-02-09  Kate Cheney  <[email protected]>
 
         [ Mac wk2 ] http/tests/resourceLoadStatistics/log-cross-site-load-with-link-decoration.html is a flaky failure

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (256104 => 256105)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-02-09 21:36:53 UTC (rev 256104)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2020-02-09 22:42:30 UTC (rev 256105)
@@ -1437,7 +1437,7 @@
 
 inline static UIKeyModifierFlags gestureRecognizerModifierFlags(UIGestureRecognizer *recognizer)
 {
-    return [recognizer respondsToSelector:@selector(_modifierFlags)] ? recognizer.modifierFlags : 0;
+    return [recognizer respondsToSelector:@selector(_modifierFlags)] ? [recognizer _modifierFlags] : 0;
 }
 
 - (void)_webTouchEventsRecognized:(UIWebTouchEventsGestureRecognizer *)gestureRecognizer
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to