Title: [240798] trunk/Source/WebKit
- Revision
- 240798
- Author
- timo...@apple.com
- Date
- 2019-01-31 11:14:58 -0800 (Thu, 31 Jan 2019)
Log Message
Fix LSAppLink deprecation warnings.
https://bugs.webkit.org/show_bug.cgi?id=194097
Unreviewed build fix.
* UIProcess/ios/WKActionSheetAssistant.mm:
(-[WKActionSheetAssistant _appendOpenActionsForURL:actions:elementInfo:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (240797 => 240798)
--- trunk/Source/WebKit/ChangeLog 2019-01-31 19:14:12 UTC (rev 240797)
+++ trunk/Source/WebKit/ChangeLog 2019-01-31 19:14:58 UTC (rev 240798)
@@ -1,3 +1,13 @@
+2019-01-31 Timothy Hatcher <timo...@apple.com>
+
+ Fix LSAppLink deprecation warnings.
+ https://bugs.webkit.org/show_bug.cgi?id=194097
+
+ Unreviewed build fix.
+
+ * UIProcess/ios/WKActionSheetAssistant.mm:
+ (-[WKActionSheetAssistant _appendOpenActionsForURL:actions:elementInfo:]):
+
2019-01-30 Simon Fraser <simon.fra...@apple.com>
[Mac] Implement basic hit testing in the scrolling tree
Modified: trunk/Source/WebKit/UIProcess/ios/WKActionSheetAssistant.mm (240797 => 240798)
--- trunk/Source/WebKit/UIProcess/ios/WKActionSheetAssistant.mm 2019-01-31 19:14:12 UTC (rev 240797)
+++ trunk/Source/WebKit/UIProcess/ios/WKActionSheetAssistant.mm 2019-01-31 19:14:58 UTC (rev 240798)
@@ -438,7 +438,10 @@
if (appLink) {
NSString *title = WEB_UI_STRING("Open in Safari", "Title for Open in Safari Link action button");
_WKElementAction *openInDefaultBrowserAction = [_WKElementAction _elementActionWithType:_WKElementActionTypeOpenInDefaultBrowser title:title actionHandler:^(_WKActivatedElementInfo *) {
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
[appLink openInWebBrowser:YES setAppropriateOpenStrategyAndWebBrowserState:nil completionHandler:^(BOOL success, NSError *error) { }];
+#pragma clang diagnostic pop
}];
[defaultActions addObject:openInDefaultBrowserAction];
@@ -446,7 +449,10 @@
if (externalApplicationName) {
NSString *title = [NSString stringWithFormat:WEB_UI_STRING("Open in “%@”", "Title for Open in External Application Link action button"), externalApplicationName];
_WKElementAction *openInExternalApplicationAction = [_WKElementAction _elementActionWithType:_WKElementActionTypeOpenInExternalApplication title:title actionHandler:^(_WKActivatedElementInfo *) {
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
[appLink openInWebBrowser:NO setAppropriateOpenStrategyAndWebBrowserState:nil completionHandler:^(BOOL success, NSError *error) { }];
+#pragma clang diagnostic pop
}];
[defaultActions addObject:openInExternalApplicationAction];
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes