Index: cc/resources/tile_manager.h |
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h |
index cdab9e69cb69fc8f39a70f2bac68dca74264a0cc..5e7cf793cb878c8d539785d061423a564e252589 100644 |
--- a/cc/resources/tile_manager.h |
+++ b/cc/resources/tile_manager.h |
@@ -105,6 +105,7 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient, |
static scoped_ptr<TileManager> Create(TileManagerClient* client, |
base::SequencedTaskRunner* task_runner, |
ResourcePool* resource_pool, |
+ ResourceFormat resource_format, |
TileTaskRunner* tile_task_runner, |
Rasterizer* rasterizer, |
size_t scheduled_raster_task_limit); |
@@ -139,7 +140,7 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient, |
TileDrawInfo& draw_info = tiles[i]->draw_info(); |
draw_info.resource_ = |
resource_pool_->AcquireResource(tiles[i]->desired_texture_size(), |
- resource_pool_->default_format()); |
+ resource_format_); |
} |
} |
@@ -179,6 +180,7 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient, |
TileManager(TileManagerClient* client, |
const scoped_refptr<base::SequencedTaskRunner>& task_runner, |
ResourcePool* resource_pool, |
+ ResourceFormat resource_format, |
TileTaskRunner* tile_task_runner, |
Rasterizer* rasterizer, |
size_t scheduled_raster_task_limit); |