Index: cc/test/fake_tile_manager.cc |
diff --git a/cc/test/fake_tile_manager.cc b/cc/test/fake_tile_manager.cc |
index 8cf984204b55f9eff5daf738e109e31d98c751e8..ceb77d667e26ae31c78d86502bd9fa55c2ab9231 100644 |
--- a/cc/test/fake_tile_manager.cc |
+++ b/cc/test/fake_tile_manager.cc |
@@ -23,6 +23,9 @@ namespace { |
base::LazyInstance<FakeTileTaskManagerImpl> g_fake_tile_task_manager = |
LAZY_INSTANCE_INITIALIZER; |
+base::LazyInstance<FakeRasterBufferProviderImpl> g_fake_raster_buffer_provider = |
+ LAZY_INSTANCE_INITIALIZER; |
+ |
} // namespace |
FakeTileManager::FakeTileManager(TileManagerClient* client) |
@@ -36,6 +39,7 @@ FakeTileManager::FakeTileManager(TileManagerClient* client) |
LayerTreeSettings().software_decoded_image_budget_bytes) { |
SetResources( |
nullptr, &image_decode_controller_, g_fake_tile_task_manager.Pointer(), |
+ g_fake_raster_buffer_provider.Pointer(), |
std::numeric_limits<size_t>::max(), false /* use_gpu_rasterization */); |
} |
@@ -51,6 +55,7 @@ FakeTileManager::FakeTileManager(TileManagerClient* client, |
LayerTreeSettings().software_decoded_image_budget_bytes) { |
SetResources(resource_pool, &image_decode_controller_, |
g_fake_tile_task_manager.Pointer(), |
+ g_fake_raster_buffer_provider.Pointer(), |
std::numeric_limits<size_t>::max(), |
false /* use_gpu_rasterization */); |
} |