Skip to content

Commit 6fdcf6c

Browse files
authored
Merge pull request #1277 from varumugam123/fix_stale_frame_display
Force sync layer states on making browser visible
2 parents eb253e7 + e651fb8 commit 6fdcf6c

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)