| Index: Source/web/PageWidgetDelegate.cpp
|
| diff --git a/Source/web/PageWidgetDelegate.cpp b/Source/web/PageWidgetDelegate.cpp
|
| index 5cdc1e34dd6b555855ebb96ed17c7dbb72a3b365..f4c3103ff491735695bb2124df4c7a8a62125a75 100644
|
| --- a/Source/web/PageWidgetDelegate.cpp
|
| +++ b/Source/web/PageWidgetDelegate.cpp
|
| @@ -81,7 +81,13 @@
|
|
|
| // setFrameRect may have the side-effect of causing existing page layout to
|
| // be invalidated, so layout needs to be called last.
|
| - view->updateLayoutAndStyleForPainting();
|
| + view->updateLayoutAndStyleIfNeededRecursive();
|
| +
|
| + // For now, as we know this is the point in code where the compositor has
|
| + // actually asked for Blink to update the composited layer tree. So finally
|
| + // do all the deferred work for updateCompositingLayers() here.
|
| + if (RenderView* renderView = view->renderView())
|
| + renderView->compositor()->updateCompositingLayers();
|
| }
|
|
|
| void PageWidgetDelegate::paint(Page* page, PageOverlayList* overlays, WebCanvas* canvas, const WebRect& rect, CanvasBackground background)
|
|
|