Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index 5471565a101f7d0baa2335f42b797144bf9479c0..232913933965f14c223c1ba7e83579783ebdecad 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -70,6 +70,7 @@ class CC_EXPORT LayerTreeImpl { |
void Shutdown(); |
void ReleaseResources(); |
+ void RecreateResources(); |
// Methods called by the layer tree that pass-through or access LTHI. |
// --------------------------------------------------------------------------- |
@@ -342,7 +343,8 @@ class CC_EXPORT LayerTreeImpl { |
LayerTreeHostImpl* layer_tree_host_impl, |
scoped_refptr<SyncedProperty<ScaleGroup>> page_scale_factor, |
scoped_refptr<SyncedElasticOverscroll> elastic_overscroll); |
- void ReleaseResourcesRecursive(LayerImpl* current); |
+ void ProcessLayersRecursive(LayerImpl* current, |
+ void (LayerImpl::*function)()); |
float ClampPageScaleFactorToLimits(float page_scale_factor) const; |
void PushPageScaleFactorAndLimits(const float* page_scale_factor, |
float min_page_scale_factor, |