RESOLVED FIXED 146263
Restore binary compatibility with iOS 8 Safari after r185877
https://bugs.webkit.org/show_bug.cgi?id=146263
Summary Restore binary compatibility with iOS 8 Safari after r185877
mitz
Reported 2015-06-23 17:14:30 PDT
[Cocoa] Restore binary compatibility with iOS 8 Safari after r185877
Attachments
Forward category method calls from WKSecurityOrigin to _WKSecurityOrigin (7.54 KB, patch)
2015-06-23 17:17 PDT, mitz
andersca: review+
mitz
Comment 1 2015-06-23 17:17:15 PDT
Created attachment 255451 [details] Forward category method calls from WKSecurityOrigin to _WKSecurityOrigin
Anders Carlsson
Comment 2 2015-06-23 17:19:36 PDT
Comment on attachment 255451 [details] Forward category method calls from WKSecurityOrigin to _WKSecurityOrigin View in context: https://bugs.webkit.org/attachment.cgi?id=255451&action=review > Source/WebKit2/UIProcess/API/Cocoa/WKSecurityOrigin.mm:85 > +#pragma mark iOS 8 Safari binary compatibility > + > +- (NSMethodSignature *)methodSignatureForSelector:(SEL)selector > +{ > + return [_WKSecurityOrigin instanceMethodSignatureForSelector:selector]; > +} > + > +- (void)forwardInvocation:(NSInvocation *)invocation > +{ > + [invocation invokeUsingIMP:[_WKSecurityOrigin instanceMethodForSelector:invocation.selector]]; > +} > + > @end Can we #if PLATFORM(IOS) this?
mitz
Comment 3 2015-06-23 17:22:12 PDT
Note You need to log in before you can comment on or make changes to this bug.