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

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 jamesr@ 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..35bba29c1e5f3552d8a63d76bafda835cd805a29 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -45,6 +45,8 @@ public:
virtual void setNeedsAnimate() OVERRIDE;
virtual void setNeedsCommit() OVERRIDE;
virtual void setNeedsRedraw() OVERRIDE;
+ virtual void setDeferCommits(bool) OVERRIDE;
+ virtual bool deferCommits() const OVERRIDE;
virtual bool commitRequested() const OVERRIDE;
virtual void didAddAnimation() OVERRIDE { }
virtual void start() OVERRIDE;
@@ -173,6 +175,8 @@ private:
base::TimeDelta m_totalCommitTime;
size_t m_totalCommitCount;
+
+ bool m_deferCommits;
};
}

Powered by Google App Engine
This is Rietveld 408576698