Title: [259177] trunk/Source/WebKit/UIProcess/Cocoa/NavigationState.mm
- Revision
- 259177
- Author
- [email protected]
- Date
- 2020-03-29 02:06:08 -0700 (Sun, 29 Mar 2020)
Log Message
Build fix for: [iOS] Delay process suspension for a while after loading an app link
https://bugs.webkit.org/show_bug.cgi?id=209686#c12
<rdar://problem/60888891>
* UIProcess/Cocoa/NavigationState.mm:
(WebKit::tryInterceptNavigation):
- Restrict call to WebPageProxy::willOpenAppLink() to
PLATFORM(IOS_FAMILY) to fix the build.
Modified Paths
Diff
Modified: trunk/Source/WebKit/UIProcess/Cocoa/NavigationState.mm (259176 => 259177)
--- trunk/Source/WebKit/UIProcess/Cocoa/NavigationState.mm 2020-03-29 08:52:38 UTC (rev 259176)
+++ trunk/Source/WebKit/UIProcess/Cocoa/NavigationState.mm 2020-03-29 09:06:08 UTC (rev 259177)
@@ -507,8 +507,10 @@
trySOAuthorization(WTFMove(navigationAction), *weakPage, WTFMove(completionHandler));
return;
}
+#if PLATFORM(IOS_FAMILY)
if (success && weakPage)
weakPage->willOpenAppLink();
+#endif
completionHandler(success);
});
[LSAppLink openWithURL:url completionHandler:[localCompletionHandler](BOOL success, NSError *) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes