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

Unified Diff: cc/thread_proxy.h

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address piman@ comments. 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/thread_proxy.h
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
index 086855bbf53eca3876ea9abdb63ea5d27908f994..0353425c0b0dfd9298ea5800a73ebc61a66f8f84 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -45,6 +45,7 @@ public:
virtual void setNeedsAnimate() OVERRIDE;
virtual void setNeedsCommit() OVERRIDE;
virtual void setNeedsRedraw() OVERRIDE;
+ virtual void setDeferCommits(bool) OVERRIDE;
virtual bool commitRequested() const OVERRIDE;
virtual void didAddAnimation() OVERRIDE { }
virtual void start() OVERRIDE;
@@ -173,6 +174,9 @@ private:
base::TimeDelta m_totalCommitTime;
size_t m_totalCommitCount;
+
+ bool m_deferCommits;
+ bool m_deferredCommitPending;
};
}
« no previous file with comments | « cc/test/layer_tree_test_common.cc ('k') | cc/thread_proxy.cc » ('j') | cc/thread_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698