Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index cfbd353bf54633d7806d81e5b7db90ceb69c5b3e..af32951523667320f62b3ad92a2f4d91b930e5d2 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -483,10 +483,9 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
virtual void DidBeginTracing(); |
- // Indicates that the surface previously used to render this layer |
- // was lost and that a new one has been created. Won't be called |
- // until the new surface has been created successfully. |
- virtual void DidLoseOutputSurface(); |
+ // Release resources held by this layer. Called when the output surface |
+ // that rendered this layer was lost or a rendering mode switch has occured. |
+ virtual void ReleaseResources(); |
ScrollbarAnimationController* scrollbar_animation_controller() const { |
return scrollbar_animation_controller_.get(); |