Index: cc/animation/layer_animation_controller.h |
diff --git a/cc/animation/layer_animation_controller.h b/cc/animation/layer_animation_controller.h |
index 72f4c46a9cc9fe51f8d7ed79c015f4c92e419ea1..dbb32392699c9ce32c02b0aeffb729fbda52a6d4 100644 |
--- a/cc/animation/layer_animation_controller.h |
+++ b/cc/animation/layer_animation_controller.h |
@@ -112,6 +112,11 @@ class CC_EXPORT LayerAnimationController |
layer_animation_delegate_ = delegate; |
} |
+ void remove_layer_animation_delegate(AnimationDelegate* delegate) { |
+ if (layer_animation_delegate_ == delegate) |
+ layer_animation_delegate_ = NULL; |
+ } |
+ |
bool HasFilterAnimationThatInflatesBounds() const; |
bool HasTransformAnimationThatInflatesBounds() const; |
bool HasAnimationThatInflatesBounds() const { |