Index: cc/trees/single_thread_proxy.cc |
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc |
index 3d991c05fee807cce943357d37ac5b7eea87a110..98a25a536fcfd581374825b0798f7bd9871a8cb2 100644 |
--- a/cc/trees/single_thread_proxy.cc |
+++ b/cc/trees/single_thread_proxy.cc |
@@ -364,6 +364,12 @@ void SingleThreadProxy::Stop() { |
layer_tree_host_ = NULL; |
} |
+void SingleThreadProxy::SetMutator(LayerTreeMutator* mutator) { |
+ DCHECK(task_runner_provider_->IsMainThread()); |
+ DebugScopedSetImplThread impl(task_runner_provider_); |
+ layer_tree_host_impl_->SetLayerTreeMutator(mutator); |
+} |
+ |
void SingleThreadProxy::OnCanDrawStateChanged(bool can_draw) { |
TRACE_EVENT1( |
"cc", "SingleThreadProxy::OnCanDrawStateChanged", "can_draw", can_draw); |