Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / cc / animation / layer_animation_controller.h
index 72f4c46..dbb3239 100644 (file)
@@ -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 {