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

Unified Diff: cc/trees/layer_tree_host.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/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index f41bc9fea43e116e44e5cb744e9d05c65199a90c..efd09287bf685211f78205a4e1e2dd82e5ea80c9 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -1268,6 +1268,11 @@ void LayerTreeHost::SetAuthoritativeVSyncInterval(
proxy_->SetAuthoritativeVSyncInterval(interval);
}
+void LayerTreeHost::SetLayerTreeMutator(
+ std::unique_ptr<LayerTreeMutator> mutator) {
+ proxy_->SetMutator(std::move(mutator));
+}
+
Layer* LayerTreeHost::LayerById(int id) const {
LayerIdMap::const_iterator iter = layer_id_map_.find(id);
return iter != layer_id_map_.end() ? iter->second : NULL;

Powered by Google App Engine
This is Rietveld 408576698