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

Unified Diff: cc/layer_tree_host.h

Issue 11316297: Only do full tree sync if tree is actually changed, otherwise just push properties (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: extra newline Created 8 years 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/layer_tree_host.h
diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h
index fd73692038c455b5d720520b99afa4ac2c438c72..8f3087ce6f2fe7182468084cebd29e4ad2e1ce8c 100644
--- a/cc/layer_tree_host.h
+++ b/cc/layer_tree_host.h
@@ -184,6 +184,7 @@ public:
void setNeedsAnimate();
// virtual for testing
virtual void setNeedsCommit();
+ virtual void setNeedsFullTreeSync();
void setNeedsRedraw();
bool commitRequested() const;
@@ -268,6 +269,7 @@ private:
bool m_animating;
bool m_needsAnimateLayers;
+ bool m_needsFullTreeSync;
base::CancelableClosure m_prepaintCallback;

Powered by Google App Engine
This is Rietveld 408576698