[Cocoa] Restore binary compatibility with iOS 8 Safari after r185877
Created attachment 255451 [details] Forward category method calls from WKSecurityOrigin to _WKSecurityOrigin
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?
Fixed in <http://trac.webkit.org/r185890>.