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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 13613003: cc: Make animations tick regardless of drawing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: parameter Created 7 years, 8 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
Index: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index bf2d87cc59df6267f995f12ac41102bd846a1e64..f77252f73a34a08a5760452ae2508088d888831c 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -1040,7 +1040,8 @@ void LayerTreeHost::AnimateLayers(base::TimeTicks time) {
iter != copy.end();
++iter) {
(*iter).second->Animate(monotonic_time);
- (*iter).second->UpdateState(NULL);
+ bool start_ready_animations = true;
+ (*iter).second->UpdateState(start_ready_animations, NULL);
}
}

Powered by Google App Engine
This is Rietveld 408576698