| 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 89d2ef5b173b512dc7eaf3699d2900cca159c3e2..ee9afe43ec75dd81cd7d6b416e1add1182c2fdf9 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1349,6 +1349,12 @@ void LayerTreeHostImpl::SetMemoryPolicy(const ManagedMemoryPolicy& policy) {
|
| settings_.using_synchronous_renderer_compositor) {
|
| ReleaseTreeResources();
|
| CleanUpTileManager();
|
| +
|
| + // Force a call to NotifyAllTileTasks completed - otherwise this logic may
|
| + // be skipped if no work was enqueued at the time the tile manager was
|
| + // destroyed.
|
| + NotifyAllTileTasksCompleted();
|
| +
|
| CreateTileManagerResources();
|
| RecreateTreeResources();
|
| }
|
|
|