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

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: win_rel compile fix 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 aab144afaa307268d3e6a1fddc4b0fb72d13b257..25e2b938210da0b40a821bdbd067cab54fe06bfc 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;
};
}

Powered by Google App Engine
This is Rietveld 408576698