Index: cc/tiles/tile_manager.cc |
diff --git a/cc/tiles/tile_manager.cc b/cc/tiles/tile_manager.cc |
index b34cbb8f2e4ffd6fe2d43e9b440bfa1d96156ace..3af82d0823d9e8d50f2ea01be40771b3088b39e0 100644 |
--- a/cc/tiles/tile_manager.cc |
+++ b/cc/tiles/tile_manager.cc |
@@ -986,8 +986,9 @@ void TileManager::ScheduleTasks( |
// TODO(vmpstr): SOON is misleading here, but these images can come from |
// several diffent tiles. Rethink what we actually want to trace here. Note |
// that I'm using SOON, since it can't be NOW (these are prepaint). |
- ImageDecodeCache::TracingInfo tracing_info(prepare_tiles_count_, |
- TilePriority::SOON); |
+ ImageDecodeCache::TracingInfo tracing_info( |
+ prepare_tiles_count_, TilePriority::SOON, |
+ ImageDecodeCache::ImageDecodeType::kInRaster); |
std::vector<scoped_refptr<TileTask>> new_locked_image_tasks = |
image_controller_.SetPredecodeImages(std::move(new_locked_images), |
tracing_info); |
@@ -1121,7 +1122,8 @@ scoped_refptr<TileTask> TileManager::CreateRasterTask( |
// Get the tasks for the required images. |
ImageDecodeCache::TracingInfo tracing_info( |
- prepare_tiles_count_, prioritized_tile.priority().priority_bin); |
+ prepare_tiles_count_, prioritized_tile.priority().priority_bin, |
+ ImageDecodeCache::ImageDecodeType::kInRaster); |
image_controller_.GetTasksForImagesAndRef(&sync_decoded_images, &decode_tasks, |
tracing_info); |