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/28 02:24:35
please remove these and figure out how to reset pr
sohanjg
2014/07/28 10:10:19
As mentioned above, once we implement ::GetTree in
|
| TileManager::Release(tile); |
| + |
| + FreeResourcesForReleasedTiles(); |
| CleanUpReleasedTiles(); |
| } |