Clean up WKContentView initialization
Created attachment 224575 [details] Patch
Comment on attachment 224575 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=224575&action=review > Source/WebKit2/UIProcess/API/ios/WKViewIOS.mm:246 > - _contentView = adoptNS([[WKContentView alloc] initWithFrame:bounds contextRef:contextRef pageGroupRef:pageGroupRef relatedToPage:relatedPage]); > + WebKit::WebPageConfiguration webPageConfiguration; > + webPageConfiguration.pageGroup = toImpl(pageGroupRef); > + webPageConfiguration.relatedPage = toImpl(relatedPage); > + > + _contentView = adoptNS([[WKContentView alloc] initWithFrame:bounds context:*toImpl(contextRef) configuration:std::move(webPageConfiguration)]); You need to update WKWebView accordingly :(
WKWebView already uses the correct initializer.
http://trac.webkit.org/changeset/164349