Index: cc/test/layer_tree_pixel_resource_test.cc |
diff --git a/cc/test/layer_tree_pixel_resource_test.cc b/cc/test/layer_tree_pixel_resource_test.cc |
index 3b52487c510c410f60dd9b0d29dc71c0d2306c8b..f844d8a54b263badd71012ae20999a683ca4b82c 100644 |
--- a/cc/test/layer_tree_pixel_resource_test.cc |
+++ b/cc/test/layer_tree_pixel_resource_test.cc |
@@ -133,9 +133,8 @@ void LayerTreeHostPixelResourceTest::CreateResourceAndTileTaskWorkerPool( |
case BITMAP_TILE_TASK_WORKER_POOL: |
EXPECT_FALSE(context_provider); |
EXPECT_EQ(PIXEL_TEST_SOFTWARE, test_type_); |
- *resource_pool = |
- ResourcePool::Create(resource_provider, |
- draw_texture_target_); |
+ *resource_pool = ResourcePool::Create(resource_provider, task_runner, |
+ draw_texture_target_); |
*tile_task_worker_pool = BitmapTileTaskWorkerPool::Create( |
task_runner, task_graph_runner(), resource_provider); |
@@ -143,9 +142,8 @@ void LayerTreeHostPixelResourceTest::CreateResourceAndTileTaskWorkerPool( |
case GPU_TILE_TASK_WORKER_POOL: |
EXPECT_TRUE(context_provider); |
EXPECT_EQ(PIXEL_TEST_GL, test_type_); |
- *resource_pool = |
- ResourcePool::Create(resource_provider, |
- draw_texture_target_); |
+ *resource_pool = ResourcePool::Create(resource_provider, task_runner, |
+ draw_texture_target_); |
*tile_task_worker_pool = GpuTileTaskWorkerPool::Create( |
task_runner, task_graph_runner(), context_provider, resource_provider, |
@@ -155,8 +153,8 @@ void LayerTreeHostPixelResourceTest::CreateResourceAndTileTaskWorkerPool( |
EXPECT_TRUE(context_provider); |
EXPECT_EQ(PIXEL_TEST_GL, test_type_); |
EXPECT_TRUE(host_impl->GetRendererCapabilities().using_image); |
- *resource_pool = |
- ResourcePool::Create(resource_provider, draw_texture_target_); |
+ *resource_pool = ResourcePool::Create(resource_provider, task_runner, |
+ draw_texture_target_); |
*tile_task_worker_pool = ZeroCopyTileTaskWorkerPool::Create( |
task_runner, task_graph_runner(), resource_provider); |
@@ -165,8 +163,8 @@ void LayerTreeHostPixelResourceTest::CreateResourceAndTileTaskWorkerPool( |
EXPECT_TRUE(context_provider); |
EXPECT_EQ(PIXEL_TEST_GL, test_type_); |
EXPECT_TRUE(host_impl->GetRendererCapabilities().using_image); |
- *resource_pool = |
- ResourcePool::Create(resource_provider, draw_texture_target_); |
+ *resource_pool = ResourcePool::Create(resource_provider, task_runner, |
+ draw_texture_target_); |
*tile_task_worker_pool = OneCopyTileTaskWorkerPool::Create( |
task_runner, task_graph_runner(), context_provider, resource_provider, |
@@ -175,8 +173,8 @@ void LayerTreeHostPixelResourceTest::CreateResourceAndTileTaskWorkerPool( |
case PIXEL_BUFFER_TILE_TASK_WORKER_POOL: |
EXPECT_TRUE(context_provider); |
EXPECT_EQ(PIXEL_TEST_GL, test_type_); |
- *resource_pool = ResourcePool::Create( |
- resource_provider, draw_texture_target_); |
+ *resource_pool = ResourcePool::Create(resource_provider, task_runner, |
+ draw_texture_target_); |
*tile_task_worker_pool = PixelBufferTileTaskWorkerPool::Create( |
task_runner, task_graph_runner(), context_provider, resource_provider, |