Title: [247340] trunk/Source/WebKit
Revision
247340
Author
[email protected]
Date
2019-07-10 18:27:04 -0700 (Wed, 10 Jul 2019)

Log Message

Safari’s context menu actions are missing options
https://bugs.webkit.org/show_bug.cgi?id=199694
<rdar://problem/52726822>

Reviewed by Tim Horton.

One of the most embarrassing errors I've ever made. I was returning
early when something existed, instead of when it didn't exist.
(*cough* tests *cough*)

* UIProcess/ios/WKContentViewInteraction.mm:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (247339 => 247340)


--- trunk/Source/WebKit/ChangeLog	2019-07-11 01:18:14 UTC (rev 247339)
+++ trunk/Source/WebKit/ChangeLog	2019-07-11 01:27:04 UTC (rev 247340)
@@ -1,3 +1,17 @@
+2019-07-10  Dean Jackson  <[email protected]>
+
+        Safari’s context menu actions are missing options
+        https://bugs.webkit.org/show_bug.cgi?id=199694
+        <rdar://problem/52726822>
+
+        Reviewed by Tim Horton.
+
+        One of the most embarrassing errors I've ever made. I was returning
+        early when something existed, instead of when it didn't exist.
+        (*cough* tests *cough*)
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+
 2019-07-10  Jon Lee  <[email protected]>
 
         Opt trello.com to mobile UA

Modified: trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm (247339 => 247340)


--- trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2019-07-11 01:18:14 UTC (rev 247339)
+++ trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm	2019-07-11 01:27:04 UTC (rev 247340)
@@ -7633,7 +7633,7 @@
 
 static NSArray<UIMenuElement *> *menuElementsFromLegacyPreview(UIViewController *previewViewController)
 {
-    if (previewViewController)
+    if (!previewViewController)
         return nil;
 
     ALLOW_DEPRECATED_DECLARATIONS_BEGIN
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to