Title: [258777] trunk/Source/WebKitLegacy/mac
Revision
258777
Author
[email protected]
Date
2020-03-20 11:59:26 -0700 (Fri, 20 Mar 2020)

Log Message

Fix the build.

* WebCoreSupport/WebFrameLoaderClient.mm:

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (258776 => 258777)


--- trunk/Source/WebKitLegacy/mac/ChangeLog	2020-03-20 18:50:00 UTC (rev 258776)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog	2020-03-20 18:59:26 UTC (rev 258777)
@@ -1,3 +1,9 @@
+2020-03-20  Timothy Horton  <[email protected]>
+
+        Fix the build.
+
+        * WebCoreSupport/WebFrameLoaderClient.mm:
+
 2020-03-20  Tim Horton  <[email protected]>
 
         Upstream a variety of Cocoa-platform HAVE and ENABLE macros

Modified: trunk/Source/WebKitLegacy/mac/WebCoreSupport/WebFrameLoaderClient.mm (258776 => 258777)


--- trunk/Source/WebKitLegacy/mac/WebCoreSupport/WebFrameLoaderClient.mm	2020-03-20 18:50:00 UTC (rev 258776)
+++ trunk/Source/WebKitLegacy/mac/WebCoreSupport/WebFrameLoaderClient.mm	2020-03-20 18:59:26 UTC (rev 258777)
@@ -2440,7 +2440,11 @@
 #if HAVE(APP_LINKS)
     if (_appLinkURL && _frame) {
         [LSAppLink openWithURL:_appLinkURL.get() completionHandler:^(BOOL success, NSError *) {
+#if PLATFORM(IOS_FAMILY)
             WebThreadRun(^{
+#else
+            dispatch_async(dispatch_get_main_queue(), ^{
+#endif
                 if (success)
                     [self receivedPolicyDecision:WebCore::PolicyAction::Ignore];
                 else
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to