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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 2811813004: Surface Synchronization: Distinguish between dependencies and references (Closed)
Patch Set: Addressed Vlad's comments Created 3 years, 8 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/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index d50449ddbb878228e5fc7fc048f479ca240ac633..e8a6f4b0c072b22299d482b4ef601d92066b1dd1 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -363,7 +363,7 @@ void LayerTreeHost::WillCommit() {
void LayerTreeHost::UpdateDeferCommitsInternal() {
proxy_->SetDeferCommits(defer_commits_ ||
- (settings_.needs_valid_local_surface_id &&
+ (settings_.enable_surface_synchronization &&
!local_surface_id_.is_valid()));
}

Powered by Google App Engine
This is Rietveld 408576698