Add a _WKScriptWorld class
Created attachment 227915 [details] Patch
Comment on attachment 227915 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=227915&action=review > Source/WebKit2/UIProcess/API/Cocoa/_WKScriptWorld.mm:79 > +- (BOOL)isEqual:(id)object > +{ > + if (![object isKindOfClass:[_WKScriptWorld class]]) > + return NO; > + > + return _worldID == ((_WKScriptWorld *)object)->_worldID; > +} > + > +- (NSUInteger)hash > +{ > + return _worldID; > +} This seems premature.
Committed r166340: <http://trac.webkit.org/changeset/166340>