| Index: cc/tiles/tile_manager.cc
|
| diff --git a/cc/tiles/tile_manager.cc b/cc/tiles/tile_manager.cc
|
| index 56f6664c6df4d272c77c4adba09bfbcd2f944617..60d3519a6f87da9d61436eb92e03be6523554d12 100644
|
| --- a/cc/tiles/tile_manager.cc
|
| +++ b/cc/tiles/tile_manager.cc
|
| @@ -673,7 +673,8 @@ TileManager::PrioritizedWorkToSchedule TileManager::AssignGpuMemoryToTiles() {
|
| break;
|
| }
|
|
|
| - bool tile_is_needed_now = priority.priority_bin == TilePriority::NOW;
|
| + bool tile_is_needed_now =
|
| + tile->required_for_activation() || tile->required_for_draw();
|
| if (!tile->is_solid_color_analysis_performed() &&
|
| tile->use_picture_analysis() && kUseColorEstimator) {
|
| // We analyze for solid color here, to decide to continue
|
| @@ -696,8 +697,7 @@ TileManager::PrioritizedWorkToSchedule TileManager::AssignGpuMemoryToTiles() {
|
| }
|
|
|
| // Prepaint tiles that are far away are only processed for images.
|
| - if (!tile->required_for_activation() && !tile->required_for_draw() &&
|
| - prioritized_tile.is_process_for_images_only()) {
|
| + if (!tile_is_needed_now && prioritized_tile.is_process_for_images_only()) {
|
| work_to_schedule.tiles_to_process_for_images.push_back(prioritized_tile);
|
| continue;
|
| }
|
|
|