Index: cc/layers/picture_layer_impl_unittest.cc |
diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc |
index 5b46c6eca9e23aaaceee7d81f0668741b97d51be..c43000d0b615beb723e5b33c4f482adf0ac54ae1 100644 |
--- a/cc/layers/picture_layer_impl_unittest.cc |
+++ b/cc/layers/picture_layer_impl_unittest.cc |
@@ -4509,7 +4509,9 @@ void PictureLayerImplTest::TestQuadsForSolidColor(bool test_for_solid) { |
scoped_refptr<PictureLayer> layer = |
PictureLayer::Create(layer_settings_, &client); |
FakeLayerTreeHostClient host_client(FakeLayerTreeHostClient::DIRECT_3D); |
- scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(&host_client); |
+ TestTaskGraphRunner task_graph_runner; |
+ scoped_ptr<FakeLayerTreeHost> host = |
+ FakeLayerTreeHost::Create(&host_client, &task_graph_runner); |
host->SetRootLayer(layer); |
RecordingSource* recording_source = layer->GetRecordingSourceForTesting(); |
@@ -4570,7 +4572,9 @@ TEST_F(PictureLayerImplTest, NonSolidToSolidNoTilings) { |
scoped_refptr<PictureLayer> layer = |
PictureLayer::Create(layer_settings_, &client); |
FakeLayerTreeHostClient host_client(FakeLayerTreeHostClient::DIRECT_3D); |
- scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(&host_client); |
+ TestTaskGraphRunner task_graph_runner; |
+ scoped_ptr<FakeLayerTreeHost> host = |
+ FakeLayerTreeHost::Create(&host_client, &task_graph_runner); |
host->SetRootLayer(layer); |
RecordingSource* recording_source = layer->GetRecordingSourceForTesting(); |