summaryrefslogtreecommitdiffstats
path: root/ui/compositor/layer_animator.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/compositor/layer_animator.h')
-rw-r--r--ui/compositor/layer_animator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/compositor/layer_animator.h b/ui/compositor/layer_animator.h
index 349fd75..48e8a1e 100644
--- a/ui/compositor/layer_animator.h
+++ b/ui/compositor/layer_animator.h
@@ -26,6 +26,7 @@ class Animation;
class AnimationPlayer;
class AnimationTimeline;
class Layer;
+class LayerAnimationController;
}
namespace gfx {
@@ -391,6 +392,11 @@ class COMPOSITOR_EXPORT LayerAnimator
// aborted.
base::ObserverList<LayerAnimationObserver> observers_;
+ // We store a state of LayerAnimationController here to save it in
+ // ResetCompositor/SetCompositor scope.
+ // TODO(loyso): Remove it. crbug.com/592873.
+ scoped_refptr<cc::LayerAnimationController> animation_controller_state_;
+
DISALLOW_COPY_AND_ASSIGN(LayerAnimator);
};