Index: cc/trees/layer_tree_host_unittest_no_message_loop.cc |
diff --git a/cc/trees/layer_tree_host_unittest_no_message_loop.cc b/cc/trees/layer_tree_host_unittest_no_message_loop.cc |
index cd13240dc4c04f043cc29766f45c0609a24422a0..6a8ff76a59ed5a5ccf43e38b53d4b5c7e6339c8e 100644 |
--- a/cc/trees/layer_tree_host_unittest_no_message_loop.cc |
+++ b/cc/trees/layer_tree_host_unittest_no_message_loop.cc |
@@ -16,6 +16,7 @@ |
#include "cc/scheduler/begin_frame_source.h" |
#include "cc/test/fake_delegated_renderer_layer.h" |
#include "cc/test/test_context_provider.h" |
+#include "cc/test/test_task_graph_runner.h" |
#include "cc/trees/layer_tree_host.h" |
#include "cc/trees/layer_tree_host_client.h" |
#include "cc/trees/layer_tree_host_single_thread_client.h" |
@@ -109,6 +110,7 @@ class LayerTreeHostNoMessageLoopTest |
LayerTreeHost::InitParams params; |
params.client = this; |
params.settings = &settings; |
+ params.task_graph_runner = &task_graph_runner_; |
layer_tree_host_ = LayerTreeHost::CreateSingleThreaded(this, ¶ms); |
layer_tree_host_->SetViewportSize(size_); |
layer_tree_host_->SetRootLayer(root_layer_); |
@@ -130,6 +132,7 @@ class LayerTreeHostNoMessageLoopTest |
} |
// All protected member variables are accessed only on |no_loop_thread_|. |
+ TestTaskGraphRunner task_graph_runner_; |
scoped_ptr<LayerTreeHost> layer_tree_host_; |
scoped_refptr<Layer> root_layer_; |