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

Unified Diff: cc/animation/animation.h

Issue 1151763011: Fix assumptions made in LAC::MarkAnimationsForDeletion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 6 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 | cc/animation/layer_animation_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation.h
diff --git a/cc/animation/animation.h b/cc/animation/animation.h
index 2677fdeff58e8930aad793bde0ee6b5ad2622550..153e4ef77527f6517cf5c15104ccdcf38a04c89c 100644
--- a/cc/animation/animation.h
+++ b/cc/animation/animation.h
@@ -151,6 +151,9 @@ class CC_EXPORT Animation {
scoped_ptr<Animation> CloneAndInitialize(RunState initial_run_state) const;
+ void set_is_controlling_instance_for_test(bool is_controlling_instance) {
+ is_controlling_instance_ = is_controlling_instance;
+ }
bool is_controlling_instance() const { return is_controlling_instance_; }
void PushPropertiesTo(Animation* other) const;
« no previous file with comments | « no previous file | cc/animation/layer_animation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698