Make use of _UIRemoteView instead of CALayerHost if possible for WKRemoteView
Created attachment 354299 [details] Patch
<rdar://problem/45884977>
Comment on attachment 354299 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=354299&action=review > Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeHostIOS.mm:189 > + std::call_once(initializeCanUseUIRemoteView, [] { > + canUseUIRemoteView = [_UIRemoteView instancesRespondToSelector:@selector(initWithFrame:pid:contextID:)]; > + }); Nit: this indentation is odd, although the style-bot didn't complain and it is usually much more picky than I am.
Comment on attachment 354299 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=354299&action=review >> Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeHostIOS.mm:189 >> + }); > > Nit: this indentation is odd, although the style-bot didn't complain and it is usually much more picky than I am. That is really weird. Also not sure how it happened. Thank you for your review!
https://trac.webkit.org/changeset/238045/webkit