Chromium Code Reviews| Index: cc/test/fake_tile_manager.cc |
| diff --git a/cc/test/fake_tile_manager.cc b/cc/test/fake_tile_manager.cc |
| index 1fc2e43e7f861a902be572e7745f1807cd44528d..b051389bfacd820fe974eccd8dbc1fb67d453347 100644 |
| --- a/cc/test/fake_tile_manager.cc |
| +++ b/cc/test/fake_tile_manager.cc |
| @@ -99,7 +99,13 @@ void FakeTileManager::DidFinishRunningTasksForTesting() { |
| } |
| void FakeTileManager::Release(Tile* tile) { |
| + // TODO(sohanjg): Find which tree the tile exists, and reset |
| + // priority for it. |
| + tile->SetPriority(ACTIVE_TREE, TilePriority()); |
| + tile->SetPriority(PENDING_TREE, TilePriority()); |
|
reveman
2014/07/30 14:24:01
You need to fix this before we can land this patch
sohanjg
2014/07/30 17:27:04
Done.
|
| TileManager::Release(tile); |
| + |
| + FreeResourcesForReleasedTiles(); |
| CleanUpReleasedTiles(); |
| } |