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

Unified Diff: cc/trees/single_thread_proxy.h

Issue 23593003: cc: Avoid updating animations in the background without an active tree (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove remaining us of "null root layer" Created 7 years, 4 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/single_thread_proxy.h
diff --git a/cc/trees/single_thread_proxy.h b/cc/trees/single_thread_proxy.h
index e245432488b1e81f47e7abae40c42e0f6be482cd..8ad0c2f8bddd421026bd2b6e97444fef57958b11 100644
--- a/cc/trees/single_thread_proxy.h
+++ b/cc/trees/single_thread_proxy.h
@@ -93,6 +93,7 @@ class SingleThreadProxy : public Proxy, LayerTreeHostImplClient {
void DidSwapFrame();
bool ShouldComposite() const;
+ void UpdateBackgroundAnimateTicking();
// Accessed on main thread only.
LayerTreeHost* layer_tree_host_;

Powered by Google App Engine
This is Rietveld 408576698