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

Unified Diff: cc/trees/proxy_main.cc

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add big fat TODOs in scheduler code to implement proper idle task scheduling and ensure GC is runni… Created 4 years, 7 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/proxy_main.cc
diff --git a/cc/trees/proxy_main.cc b/cc/trees/proxy_main.cc
index d62340f58cf7f6a6fd75edad5ec2667566d61a01..c0792a6154190d084ca4f4a7feba73708127437c 100644
--- a/cc/trees/proxy_main.cc
+++ b/cc/trees/proxy_main.cc
@@ -404,6 +404,11 @@ void ProxyMain::Stop() {
started_ = false;
}
+void ProxyMain::SetMutator(std::unique_ptr<LayerTreeMutator> mutator) {
+ TRACE_EVENT0("compositor-worker", "ThreadProxy::SetMutator");
+ channel_main_->InitializeMutatorOnImpl(std::move(mutator));
+}
+
bool ProxyMain::SupportsImplScrolling() const {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698