Changeset 243796 in webkit
- Timestamp:
- Apr 3, 2019 6:00:16 AM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r243793 r243796 1 2019-04-03 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [CoordinatedGraphics] Hidden pages are not suspended after a web view resize 4 https://bugs.webkit.org/show_bug.cgi?id=196487 5 6 Reviewed by Žan Doberšek. 7 8 When resizing the window, the hidden tabs are updated too, to avoid flickering or getting the old size when 9 switching tabs. For that we need to resume painting but we are not suspending it again after the update. 10 11 * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: 12 (WebKit::DrawingAreaCoordinatedGraphics::updateBackingStoreState): Suspend the painting again after a 13 synchronous update if needed. 14 1 15 2019-04-03 Carlos Garcia Campos <cgarcia@igalia.com> 2 16 -
trunk/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp
r242995 r243796 412 412 // Make sure to resume painting if we're supposed to respond immediately, otherwise we'll just 413 413 // send back an empty UpdateInfo struct. 414 bool wasSuspended = m_isPaintingSuspended; 414 415 if (m_isPaintingSuspended) 415 416 resumePainting(); 416 417 417 418 sendDidUpdateBackingStoreState(); 419 if (wasSuspended) 420 suspendPainting(); 418 421 } 419 422
Note: See TracChangeset
for help on using the changeset viewer.