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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2041193005: [compositorworker] compositor proxy mutation updates underlying layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-upstream-registration
Patch Set: Use RAII pattern Created 4 years, 6 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_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 589b80e171c3162bd165f866d10f0a269f18a62c..df304300758cbd194d6e09a5a528d5ca5fcff391 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -484,7 +484,7 @@ bool LayerTreeHostImpl::Mutate(base::TimeTicks monotonic_time) {
if (!mutator_)
return false;
TRACE_EVENT0("compositor-worker", "LayerTreeHostImpl::Mutate");
- if (mutator_->Mutate(monotonic_time))
+ if (mutator_->Mutate(monotonic_time, active_tree()))
client_->SetNeedsOneBeginImplFrameOnImplThread();
return true;
}

Powered by Google App Engine
This is Rietveld 408576698