Index: cc/layers/layer.h |
diff --git a/cc/layers/layer.h b/cc/layers/layer.h |
index 4eb5e8173a6580bb152dec52c87a7ca359e12ab9..d26c1056e84eb451c5ad3eb5ead85aeefd6f54cd 100644 |
--- a/cc/layers/layer.h |
+++ b/cc/layers/layer.h |
@@ -62,6 +62,7 @@ class LayerImpl; |
class LayerTreeHost; |
class LayerTreeHostCommon; |
class LayerTreeImpl; |
+class LayerTreeSettings; |
class PriorityCalculator; |
class RenderingStatsInstrumentation; |
class ResourceUpdateQueue; |
@@ -425,10 +426,13 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>, |
scoped_refptr<LayerAnimationController> controller); |
void set_layer_animation_delegate(AnimationDelegate* delegate) { |
+ DCHECK(layer_animation_controller_); |
layer_animation_controller_->set_layer_animation_delegate(delegate); |
} |
bool HasActiveAnimation() const; |
+ void RegisterForAnimations(AnimationRegistrar* registrar, |
+ const LayerTreeSettings& settings); |
void AddLayerAnimationEventObserver( |
LayerAnimationEventObserver* animation_observer); |