Index: cc/blimp/layer_tree_host_remote.cc |
diff --git a/cc/blimp/layer_tree_host_remote.cc b/cc/blimp/layer_tree_host_remote.cc |
index 470c71ba3a156315d5591fc9b5b145102c5cddfd..f4136c01ff648846311573feb4f02d8bac17625d 100644 |
--- a/cc/blimp/layer_tree_host_remote.cc |
+++ b/cc/blimp/layer_tree_host_remote.cc |
@@ -428,6 +428,11 @@ void LayerTreeHostRemote::DispatchDrawAndSwapCallbacks() { |
client_->DidCompleteSwapBuffers(); |
} |
+void LayerTreeHostRemote::SetTaskRunnerProviderForTesting( |
+ std::unique_ptr<TaskRunnerProvider> task_runner_provider) { |
+ task_runner_provider_ = std::move(task_runner_provider); |
+} |
+ |
void LayerTreeHostRemote::SerializeCurrentState( |
proto::LayerTreeHost* layer_tree_host_proto) { |
// We need to serialize only the inputs received from the embedder. |