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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 23530003: cc: Block commit on activate by setting a flag on LayerTreeHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blockcommit: move bool to proxy Created 7 years, 4 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/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index dc19920f90bda4d61ee9808ee6940db2b2f25617..4e17daa8cc9b599e1315893033ef62bc5aad8a26 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -244,6 +244,10 @@ void SingleThreadProxy::SetNeedsRedraw(gfx::Rect damage_rect) {
SetNeedsRedrawRectOnImplThread(damage_rect);
}
+void SingleThreadProxy::SetNextCommitWaitsForActivation() {
+ // There is no activation here other than commit. So do nothing.
+}
+
void SingleThreadProxy::SetDeferCommits(bool defer_commits) {
// Thread-only feature.
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698