Title: [212220] trunk/Source
Revision
212220
Author
m...@apple.com
Date
2017-02-12 22:13:17 -0800 (Sun, 12 Feb 2017)

Log Message

Tried to fix USE(APPLE_INTERNAL_SDK) builds after r212211.

Source/WebCore:

* platform/spi/mac/NSMenuSPI.h: Replaced declaration of deprecated method with its current
  equivalent.

Source/WebKit/mac:

* WebView/WebHTMLView.mm:
(createShareMenuItem): Use non-deprecated method.

Source/WebKit2:

* UIProcess/mac/WebContextMenuProxyMac.mm:
(WebKit::WebContextMenuProxyMac::createShareMenuItem): Use non-deprecated method.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (212219 => 212220)


--- trunk/Source/WebCore/ChangeLog	2017-02-13 06:04:00 UTC (rev 212219)
+++ trunk/Source/WebCore/ChangeLog	2017-02-13 06:13:17 UTC (rev 212220)
@@ -2,6 +2,13 @@
 
         Tried to fix USE(APPLE_INTERNAL_SDK) builds after r212211.
 
+        * platform/spi/mac/NSMenuSPI.h: Replaced declaration of deprecated method with its current
+          equivalent.
+
+2017-02-12  Dan Bernstein  <m...@apple.com>
+
+        Tried to fix USE(APPLE_INTERNAL_SDK) builds after r212211.
+
         * platform/spi/mac/NSImmediateActionGestureRecognizerSPI.h:
 
 2017-02-12  Ryosuke Niwa  <rn...@webkit.org>

Modified: trunk/Source/WebCore/platform/spi/mac/NSMenuSPI.h (212219 => 212220)


--- trunk/Source/WebCore/platform/spi/mac/NSMenuSPI.h	2017-02-13 06:04:00 UTC (rev 212219)
+++ trunk/Source/WebCore/platform/spi/mac/NSMenuSPI.h	2017-02-13 06:13:17 UTC (rev 212220)
@@ -46,7 +46,7 @@
 
 @interface NSMenuItem () <NSUserInterfaceItemIdentification>
 + (QLPreviewMenuItem *)standardQuickLookMenuItem;
-+ (NSMenuItem *)standardShareMenuItemWithItems:(NSArray *)items;
++ (NSMenuItem *)standardShareMenuItemForItems:(NSArray *)items;
 @end
 
 #endif

Modified: trunk/Source/WebKit/mac/ChangeLog (212219 => 212220)


--- trunk/Source/WebKit/mac/ChangeLog	2017-02-13 06:04:00 UTC (rev 212219)
+++ trunk/Source/WebKit/mac/ChangeLog	2017-02-13 06:13:17 UTC (rev 212220)
@@ -1,5 +1,12 @@
 2017-02-12  Dan Bernstein  <m...@apple.com>
 
+        Tried to fix USE(APPLE_INTERNAL_SDK) builds after r212211.
+
+        * WebView/WebHTMLView.mm:
+        (createShareMenuItem): Use non-deprecated method.
+
+2017-02-12  Dan Bernstein  <m...@apple.com>
+
         [Cocoa] Some -respondsToSelector: checks are unnecessary
         https://bugs.webkit.org/show_bug.cgi?id=168183
 

Modified: trunk/Source/WebKit/mac/WebView/WebHTMLView.mm (212219 => 212220)


--- trunk/Source/WebKit/mac/WebView/WebHTMLView.mm	2017-02-13 06:04:00 UTC (rev 212219)
+++ trunk/Source/WebKit/mac/WebView/WebHTMLView.mm	2017-02-13 06:13:17 UTC (rev 212220)
@@ -3897,7 +3897,7 @@
     if (![items count])
         return nil;
 
-    return [NSMenuItem standardShareMenuItemWithItems:items.get()];
+    return [NSMenuItem standardShareMenuItemForItems:items.get()];
 }
 
 static RetainPtr<NSMutableArray> createMenuItems(const HitTestResult&, const Vector<ContextMenuItem>&);

Modified: trunk/Source/WebKit2/ChangeLog (212219 => 212220)


--- trunk/Source/WebKit2/ChangeLog	2017-02-13 06:04:00 UTC (rev 212219)
+++ trunk/Source/WebKit2/ChangeLog	2017-02-13 06:13:17 UTC (rev 212220)
@@ -1,5 +1,12 @@
 2017-02-12  Dan Bernstein  <m...@apple.com>
 
+        Tried to fix USE(APPLE_INTERNAL_SDK) builds after r212211.
+
+        * UIProcess/mac/WebContextMenuProxyMac.mm:
+        (WebKit::WebContextMenuProxyMac::createShareMenuItem): Use non-deprecated method.
+
+2017-02-12  Dan Bernstein  <m...@apple.com>
+
         [Cocoa] Some -respondsToSelector: checks are unnecessary
         https://bugs.webkit.org/show_bug.cgi?id=168183
 

Modified: trunk/Source/WebKit2/UIProcess/mac/WebContextMenuProxyMac.mm (212219 => 212220)


--- trunk/Source/WebKit2/UIProcess/mac/WebContextMenuProxyMac.mm	2017-02-13 06:04:00 UTC (rev 212219)
+++ trunk/Source/WebKit2/UIProcess/mac/WebContextMenuProxyMac.mm	2017-02-13 06:13:17 UTC (rev 212220)
@@ -293,7 +293,7 @@
     if (![items count])
         return nil;
 
-    RetainPtr<NSMenuItem> item = [NSMenuItem standardShareMenuItemWithItems:items.get()];
+    RetainPtr<NSMenuItem> item = [NSMenuItem standardShareMenuItemForItems:items.get()];
     if (!item)
         return nil;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to