Chromium Code Reviews| Index: cc/resources/tile_manager.cc |
| diff --git a/cc/resources/tile_manager.cc b/cc/resources/tile_manager.cc |
| index df69f700be727934fb2d017a5a81f72d0d4744e9..5461617d5471138060f8724cf7ce42ce0e3f76d4 100644 |
| --- a/cc/resources/tile_manager.cc |
| +++ b/cc/resources/tile_manager.cc |
| @@ -595,6 +595,8 @@ void TileManager::AssignGpuMemoryToTiles( |
| TileVector* tiles_that_need_to_be_rasterized) { |
| TRACE_EVENT0("cc", "TileManager::AssignGpuMemoryToTiles"); |
| + resource_pool_->CheckConsumedResources(); |
|
piman
2013/10/30 19:35:30
note, if this becomes to expensive to do all the t
reveman
2013/10/30 21:10:28
I think this is good enough for now but a comment
|
| + |
| // Now give memory out to the tiles until we're out, and build |
| // the needs-to-be-rasterized queue. |
| all_tiles_that_need_to_be_rasterized_have_memory_ = true; |