Changeset 211205 in webkit
- Timestamp:
- Jan 26, 2017 1:19:48 AM (7 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r211203 r211205 1 2017-01-26 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [Threaded Compositor] Update also the contents size when creating the threaded compositor 4 https://bugs.webkit.org/show_bug.cgi?id=167452 5 6 Reviewed by Žan Doberšek. 7 8 In r210954 we ensured that the threaded compositor and the viewport controller were created with the initial web 9 page size. If we don't update the contents size, the visible rectangle will be empty and tiles won't be created 10 until contentsSizeDidChange is called. It's even possible, when entering AC mode on demand, that we create the 11 layer tree host after the contents size changed, in which case nothing is rendered unless we resize the window. 12 13 * WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp: 14 (WebKit::ThreadedCoordinatedLayerTreeHost::ThreadedCoordinatedLayerTreeHost): 15 1 16 2017-01-26 Csaba Osztrogonác <ossy@webkit.org> 2 17 -
trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp
r210954 r211205 56 56 , m_viewportController(webPage.size()) 57 57 { 58 if (FrameView* frameView = m_webPage.mainFrameView()) { 59 auto contentsSize = frameView->contentsSize(); 60 if (!contentsSize.isEmpty()) 61 m_viewportController.didChangeContentsSize(contentsSize); 62 } 63 58 64 IntSize scaledSize(m_webPage.size()); 59 65 scaledSize.scale(m_webPage.deviceScaleFactor());
Note: See TracChangeset
for help on using the changeset viewer.