Index: cc/resources/tile_task_worker_pool_unittest.cc |
diff --git a/cc/resources/tile_task_worker_pool_unittest.cc b/cc/resources/tile_task_worker_pool_unittest.cc |
index 59b833fc2b8f394a27889ca7a870b3650c656401..c17cfb42cd2182da2554bbfccf2eec60e8cd9e53 100644 |
--- a/cc/resources/tile_task_worker_pool_unittest.cc |
+++ b/cc/resources/tile_task_worker_pool_unittest.cc |
@@ -152,7 +152,7 @@ class TileTaskWorkerPoolTest |
case TILE_TASK_WORKER_POOL_TYPE_ONE_COPY: |
Create3dOutputSurfaceAndResourceProvider(); |
staging_resource_pool_ = ResourcePool::Create(resource_provider_.get(), |
- GL_TEXTURE_2D, RGBA_8888); |
+ GL_TEXTURE_2D); |
tile_task_worker_pool_ = OneCopyTileTaskWorkerPool::Create( |
base::MessageLoopProxy::current().get(), |
TileTaskWorkerPool::GetTaskGraphRunner(), context_provider_.get(), |
@@ -162,7 +162,8 @@ class TileTaskWorkerPoolTest |
Create3dOutputSurfaceAndResourceProvider(); |
tile_task_worker_pool_ = GpuTileTaskWorkerPool::Create( |
base::MessageLoopProxy::current().get(), |
- TileTaskWorkerPool::GetTaskGraphRunner()); |
+ TileTaskWorkerPool::GetTaskGraphRunner(), |
+ resource_provider_.get()->best_texture_format()); |
break; |
case TILE_TASK_WORKER_POOL_TYPE_BITMAP: |
CreateSoftwareOutputSurfaceAndResourceProvider(); |