Index: cc/layers/layer.h |
diff --git a/cc/layers/layer.h b/cc/layers/layer.h |
index b0a1d665b46315ab809b327e422f2cca54676a42..11401b30d41757df1e384f0fa71e75c986298b76 100644 |
--- a/cc/layers/layer.h |
+++ b/cc/layers/layer.h |
@@ -62,6 +62,7 @@ class LayerSettings; |
class LayerTreeHost; |
class LayerTreeHostCommon; |
class LayerTreeImpl; |
+class LayerTreeSettings; |
class PriorityCalculator; |
class RenderingStatsInstrumentation; |
class ResourceUpdateQueue; |
@@ -425,10 +426,12 @@ 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); |
void AddLayerAnimationEventObserver( |
LayerAnimationEventObserver* animation_observer); |