RESOLVED FIXED 74122
Forced compositing mode breaks display of full-page PDFs in WK2
https://bugs.webkit.org/show_bug.cgi?id=74122
Summary Forced compositing mode breaks display of full-page PDFs in WK2
Simon Fraser (smfr)
Reported 2011-12-08 13:17:07 PST
Forced compositing mode breaks display of full-page PDFs in WK2
Attachments
Patch (7.86 KB, patch)
2011-12-08 13:22 PST, Simon Fraser (smfr)
mitz: review+
Simon Fraser (smfr)
Comment 1 2011-12-08 13:22:19 PST
Simon Fraser (smfr)
Comment 2 2011-12-08 13:23:10 PST
mitz
Comment 3 2011-12-08 16:48:52 PST
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.
Simon Fraser (smfr)
Comment 4 2011-12-08 17:46:56 PST
Note You need to log in before you can comment on or make changes to this bug.