Forced compositing mode breaks display of full-page PDFs in WK2
Created attachment 118458 [details] Patch
<rdar://problem/9550059>
Comment on attachment 118458 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=118458&action=review > Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp:245 > + if (m_webPage->mainFrameHasCustomRepresentation()) { > + if (m_alwaysUseCompositing && m_layerTreeHost) > + exitAcceleratedCompositingMode(); > + } else if (m_alwaysUseCompositing && !m_layerTreeHost) > + enterAcceleratedCompositingMode(0); > +} I think this would read better with an early return if (!m_alwaysUseCompositing). Makes it clearer that this function is only about the forced compositing case.
http://trac.webkit.org/changeset/102407