| Summary: | Restore binary compatibility with iOS 8 Safari after r185877 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | mitz | ||||
| Component: | WebKit2 | Assignee: | mitz | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | ||||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
mitz
2015-06-23 17:14:30 PDT
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>. |