Skip to content

Commit e651fb8

Browse files
committed
Force sync layer states on making browser visible
1 parent d328098 commit e651fb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ void LayerTreeHost::pauseRendering()
266266
void LayerTreeHost::resumeRendering()
267267
{
268268
m_isSuspended = false;
269+
renderNextFrame(true);
269270
m_compositor->resume();
270-
scheduleLayerFlush();
271271
}
272272

273273
GraphicsLayerFactory* LayerTreeHost::graphicsLayerFactory()

0 commit comments

Comments
 (0)