Title: [240802] tags/Safari-608.1.4/Source/WebKit
Revision
240802
Author
[email protected]
Date
2019-01-31 11:44:15 -0800 (Thu, 31 Jan 2019)

Log Message

Cherry-pick r240798. rdar://problem/47697219

    Fix LSAppLink deprecation warnings.
    https://bugs.webkit.org/show_bug.cgi?id=194097

    Unreviewed build fix.

    * UIProcess/ios/WKActionSheetAssistant.mm:
    (-[WKActionSheetAssistant _appendOpenActionsForURL:actions:elementInfo:]):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240798 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: tags/Safari-608.1.4/Source/WebKit/ChangeLog (240801 => 240802)


--- tags/Safari-608.1.4/Source/WebKit/ChangeLog	2019-01-31 19:42:28 UTC (rev 240801)
+++ tags/Safari-608.1.4/Source/WebKit/ChangeLog	2019-01-31 19:44:15 UTC (rev 240802)
@@ -1,3 +1,29 @@
+2019-01-31  Alan Coon  <[email protected]>
+
+        Cherry-pick r240798. rdar://problem/47697219
+
+    Fix LSAppLink deprecation warnings.
+    https://bugs.webkit.org/show_bug.cgi?id=194097
+    
+    Unreviewed build fix.
+    
+    
+    * UIProcess/ios/WKActionSheetAssistant.mm:
+    (-[WKActionSheetAssistant _appendOpenActionsForURL:actions:elementInfo:]):
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-01-31  Timothy Hatcher  <[email protected]>
+
+            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-31  Ryosuke Niwa  <[email protected]>
 
         iOS: Crash in InteractiveUpdateHandler set by ViewGestureController::beginSwipeGesture

Modified: tags/Safari-608.1.4/Source/WebKit/UIProcess/ios/WKActionSheetAssistant.mm (240801 => 240802)


--- tags/Safari-608.1.4/Source/WebKit/UIProcess/ios/WKActionSheetAssistant.mm	2019-01-31 19:42:28 UTC (rev 240801)
+++ tags/Safari-608.1.4/Source/WebKit/UIProcess/ios/WKActionSheetAssistant.mm	2019-01-31 19:44:15 UTC (rev 240802)
@@ -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
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to