Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: ui/compositor/layer_animator.h

Issue 1778213003: UI Compositor: Fix threaded animation survival if layer removed and added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/compositor/layer_animator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_animator.h
diff --git a/ui/compositor/layer_animator.h b/ui/compositor/layer_animator.h
index 349fd75b97565ec10ce0c1c35a447f81bb467f1d..48e8a1e0ab40c4a36ecebb8d70f790273b57f2ba 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);
};
« no previous file with comments | « no previous file | ui/compositor/layer_animator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698