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

Unified Diff: cc/trees/thread_proxy.cc

Issue 935193002: cc: Fix missing render surfaces with output requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index b72f03cf61cd791c3b75917cdb333d3a880f79e8..286ae735dcd980f312de222410a8255721a71c66 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -154,9 +154,9 @@ bool ThreadProxy::IsStarted() const {
}
bool ThreadProxy::CommitToActiveTree() const {
- // With ThreadProxy we use a pending tree and activate it once it's ready to
- // draw.
- return false;
+ // With ThreadProxy and impl-side painting, we use a pending tree and activate
+ // it once it's ready to draw.
+ return !impl().layer_tree_host_impl->settings().impl_side_painting;
}
void ThreadProxy::SetLayerTreeHostClientReady() {
« cc/trees/layer_tree_host_unittest.cc ('K') | « cc/trees/layer_tree_host_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698