Index: cc/tiles/tile_manager.cc |
diff --git a/cc/tiles/tile_manager.cc b/cc/tiles/tile_manager.cc |
index e2d11552268c562607b140c1b0349d73670a49a1..2acd3c9606537e033c9230d393d5bdea7a88ef68 100644 |
--- a/cc/tiles/tile_manager.cc |
+++ b/cc/tiles/tile_manager.cc |
@@ -675,11 +675,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(), &color); |
if (is_solid_color) { |
tile->draw_info().set_solid_color(color); |
client_->NotifyTileStateChanged(tile); |