| Index: cc/trees/layer_tree_host.h
|
| diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
|
| index e362f84b4ca09789afc7c0ea734edab6f5039e9a..5211ac89d1bb2d445776c0d7612ed602e894ff76 100644
|
| --- a/cc/trees/layer_tree_host.h
|
| +++ b/cc/trees/layer_tree_host.h
|
| @@ -286,6 +286,9 @@ class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) {
|
| virtual UIResourceId CreateUIResource(UIResourceClient* client);
|
| // Deletes a UI resource. May safely be called more than once.
|
| virtual void DeleteUIResource(UIResourceId id);
|
| + // Put the recreation of all UI resources into the resource queue after they
|
| + // were evicted on the impl thread.
|
| + void RecreateUIResources();
|
|
|
| bool UsingSharedMemoryResources();
|
| int id() const { return tree_id_; }
|
| @@ -323,8 +326,6 @@ class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) {
|
|
|
| bool AnimateLayersRecursive(Layer* current, base::TimeTicks time);
|
|
|
| - void RecreateUIResources(bool resource_lost);
|
| -
|
| typedef base::hash_map<UIResourceId, UIResourceClient*> UIResourceClientMap;
|
| UIResourceClientMap ui_resource_client_map_;
|
| int next_ui_resource_id_;
|
|
|