Index: cc/layers/layer.h |
diff --git a/cc/layers/layer.h b/cc/layers/layer.h |
index 6f10725b08ff536bc30d8b4c5bb05a8198b85856..bcac06c2dfd1d9a28dd11f248618d350790dd303 100644 |
--- a/cc/layers/layer.h |
+++ b/cc/layers/layer.h |
@@ -61,6 +61,7 @@ class LayerImpl; |
class LayerTreeHost; |
class LayerTreeHostCommon; |
class LayerTreeImpl; |
+class LayerTreeSettings; |
class PriorityCalculator; |
class RenderingStatsInstrumentation; |
class ResourceUpdateQueue; |
@@ -424,10 +425,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); |