| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index 94d2864c696535575997ee2d32c898b0d00816eb..02a8e0526c65b77a967fbdb61656bc60d56c7f9a 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -2031,12 +2031,14 @@ void LayerTreeHostImpl::DeferredInitialize() {
|
|
|
| ReleaseTreeResources();
|
| renderer_.reset();
|
| + DestroyTileManager();
|
|
|
| resource_provider_->InitializeGL();
|
|
|
| CreateAndSetRenderer();
|
| -
|
| EnforceZeroBudget(false);
|
| + CreateAndSetTileManager();
|
| +
|
| client_->SetNeedsCommitOnImplThread();
|
| }
|
|
|
| @@ -2048,11 +2050,11 @@ void LayerTreeHostImpl::ReleaseGL() {
|
| ReleaseTreeResources();
|
| renderer_.reset();
|
| DestroyTileManager();
|
| - resource_provider_->InitializeSoftware();
|
|
|
| + resource_provider_->InitializeSoftware();
|
| output_surface_->ReleaseContextProvider();
|
| - CreateAndSetRenderer();
|
|
|
| + CreateAndSetRenderer();
|
| EnforceZeroBudget(true);
|
| CreateAndSetTileManager();
|
|
|
|
|