Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 5d668d9c40aa6ee6100a2d72b1453101fac3d80a..96f915feb414c5d261ab2bea0a4a3ab88c56874d 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -547,6 +547,10 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
// that rendered this layer was lost or a rendering mode switch has occured. |
virtual void ReleaseResources(); |
+ // Recreate resources that are required after they were released by a |
+ // ReleaseResources call. |
+ virtual void RecreateResources(); |
+ |
ScrollbarAnimationController* scrollbar_animation_controller() const { |
return scrollbar_animation_controller_.get(); |
} |