Title: [253781] trunk/Source/WebKit
Revision
253781
Author
commit-qu...@webkit.org
Date
2019-12-19 12:23:58 -0800 (Thu, 19 Dec 2019)

Log Message

Deprecate _WKRemoteObjectInterface methods without ofReply:
https://bugs.webkit.org/show_bug.cgi?id=205073

Patch by Alex Christensen <achristen...@webkit.org> on 2019-12-19
Reviewed by Timothy Hatcher.

Using them makes it hard to figure out how to add classes allowed for the reply,
and there's a comment saying to deprecate them, so let's do it.

* Shared/API/Cocoa/_WKRemoteObjectInterface.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (253780 => 253781)


--- trunk/Source/WebKit/ChangeLog	2019-12-19 20:06:59 UTC (rev 253780)
+++ trunk/Source/WebKit/ChangeLog	2019-12-19 20:23:58 UTC (rev 253781)
@@ -1,3 +1,15 @@
+2019-12-19  Alex Christensen  <achristen...@webkit.org>
+
+        Deprecate _WKRemoteObjectInterface methods without ofReply:
+        https://bugs.webkit.org/show_bug.cgi?id=205073
+
+        Reviewed by Timothy Hatcher.
+
+        Using them makes it hard to figure out how to add classes allowed for the reply,
+        and there's a comment saying to deprecate them, so let's do it.
+
+        * Shared/API/Cocoa/_WKRemoteObjectInterface.h:
+
 2019-12-19  Brent Fulgham  <bfulg...@apple.com>
 
         WebContent process does not need access to 'com.apple.system.logger'

Modified: trunk/Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectInterface.h (253780 => 253781)


--- trunk/Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectInterface.h	2019-12-19 20:06:59 UTC (rev 253780)
+++ trunk/Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectInterface.h	2019-12-19 20:23:58 UTC (rev 253781)
@@ -40,8 +40,7 @@
 - (NSSet *)classesForSelector:(SEL)selector argumentIndex:(NSUInteger)argumentIndex ofReply:(BOOL)ofReply;
 - (void)setClasses:(NSSet *)classes forSelector:(SEL)selector argumentIndex:(NSUInteger)argumentIndex ofReply:(BOOL)ofReply;
 
-// FIXME: Deprecate these.
-- (NSSet *)classesForSelector:(SEL)selector argumentIndex:(NSUInteger)argumentIndex;
-- (void)setClasses:(NSSet *)classes forSelector:(SEL)selector argumentIndex:(NSUInteger)argumentIndex;
+- (NSSet *)classesForSelector:(SEL)selector argumentIndex:(NSUInteger)argumentIndex WK_API_DEPRECATED_WITH_REPLACEMENT("-classesForSelector:argumentIndex:ofReply:", macos(10.10, WK_MAC_TBA), ios(8.0, WK_IOS_TBA));
+- (void)setClasses:(NSSet *)classes forSelector:(SEL)selector argumentIndex:(NSUInteger)argumentIndex WK_API_DEPRECATED_WITH_REPLACEMENT("-setClasses:forSelector:argumentIndex:ofReply:", macos(10.10, WK_MAC_TBA), ios(8.0, WK_IOS_TBA));
 
 @end
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to