| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index 769863756ac14764bdeb425d5473cd465f638f14..d94fbad13531033080ee1dde04113b0a3ae5c276 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -3998,8 +3998,13 @@ void WebViewImpl::InitializeLayerTreeView() {
|
| dev_tools->LayerTreeViewChanged(layer_tree_view_);
|
|
|
| page_->GetSettings().SetAcceleratedCompositingEnabled(layer_tree_view_);
|
| - if (layer_tree_view_)
|
| + if (layer_tree_view_) {
|
| page_->LayerTreeViewInitialized(*layer_tree_view_, nullptr);
|
| + // We don't yet have a page loaded at this point of the initialization of
|
| + // WebViewImpl, so don't allow cc to commit any frames Blink might
|
| + // try to create in the meantime.
|
| + layer_tree_view_->SetDeferCommits(true);
|
| + }
|
|
|
| // FIXME: only unittests, click to play, Android printing, and printing (for
|
| // headers and footers) make this assert necessary. We should make them not
|
|
|