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

Unified Diff: cc/layer_tree_host.h

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Defer commits and rebase. Created 8 years, 2 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/layer_tree_host.h
diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h
index 1f589525ba007a67e3f70bf5a00ce7e617d44cca..0cb0ba192d33d3e69bd83f0194d1384f75f95abb 100644
--- a/cc/layer_tree_host.h
+++ b/cc/layer_tree_host.h
@@ -142,6 +142,9 @@ public:
void finishAllRendering();
+ void setDeferCommits(bool deferCommits);
+ bool deferCommits() const { return m_deferCommits; }
+
int commitNumber() const { return m_commitNumber; }
void renderingStats(RenderingStats*) const;
@@ -274,6 +277,8 @@ private:
static bool s_needsFilterContext;
+ bool m_deferCommits;
jamesr 2012/10/23 17:50:44 This bool belongs on ThreadProxy, it's the class t
jonathan.backer 2012/10/23 19:26:42 Done.
+
DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
};
« no previous file with comments | « ash/wm/window_animations.cc ('k') | cc/layer_tree_host.cc » ('j') | cc/layer_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698