| Index: cc/tiles/tile_manager.cc
|
| diff --git a/cc/tiles/tile_manager.cc b/cc/tiles/tile_manager.cc
|
| index 1c78b5353496048ab7f3c8f64d671522631592e8..37b6bbf33c93237d75dfc2cc9d42183437b68c45 100644
|
| --- a/cc/tiles/tile_manager.cc
|
| +++ b/cc/tiles/tile_manager.cc
|
| @@ -671,11 +671,10 @@ TileManager::PrioritizedWorkToSchedule TileManager::AssignGpuMemoryToTiles() {
|
| // canvas which is reset between tiles.
|
| tile->set_solid_color_analysis_performed(true);
|
| SkColor color = SK_ColorTRANSPARENT;
|
| - gfx::RectF layer_rect = tile->raster_transform().InverseMapRect(
|
| - gfx::RectF(tile->content_rect()));
|
| +
|
| bool is_solid_color =
|
| prioritized_tile.raster_source()->PerformSolidColorAnalysis(
|
| - gfx::ToEnclosingRect(layer_rect), 1.f, &color);
|
| + tile->content_rect(), tile->raster_transform().scale(), &color);
|
| if (is_solid_color) {
|
| tile->draw_info().set_solid_color(color);
|
| client_->NotifyTileStateChanged(tile);
|
|
|