Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Unified Diff: cc/test/fake_tile_manager.cc

Issue 107413008: Merge 241994 "Revert "cc: Added tile bundles"" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/src/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/fake_tile_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_tile_manager.cc
===================================================================
--- cc/test/fake_tile_manager.cc (revision 243316)
+++ cc/test/fake_tile_manager.cc (working copy)
@@ -55,8 +55,7 @@
make_scoped_ptr<RasterWorkerPool>(new FakeRasterWorkerPool),
1,
std::numeric_limits<unsigned>::max(),
- NULL),
- in_bundle_cleanup_(false) {}
+ NULL) {}
FakeTileManager::FakeTileManager(TileManagerClient* client,
ResourceProvider* resource_provider)
@@ -65,8 +64,7 @@
make_scoped_ptr<RasterWorkerPool>(new FakeRasterWorkerPool),
1,
std::numeric_limits<unsigned>::max(),
- NULL),
- in_bundle_cleanup_(false) {}
+ NULL) {}
FakeTileManager::FakeTileManager(TileManagerClient* client,
ResourceProvider* resource_provider,
@@ -76,8 +74,7 @@
make_scoped_ptr<RasterWorkerPool>(new FakeRasterWorkerPool),
1,
raster_task_limit_bytes,
- NULL),
- in_bundle_cleanup_(false) {}
+ NULL) {}
FakeTileManager::~FakeTileManager() {}
@@ -103,15 +100,7 @@
void FakeTileManager::Release(Tile* tile) {
TileManager::Release(tile);
- if (!in_bundle_cleanup_)
- CleanUpReleasedTiles();
-}
-
-void FakeTileManager::Release(TileBundle* bundle) {
- TileManager::Release(bundle);
- in_bundle_cleanup_ = true;
CleanUpReleasedTiles();
- in_bundle_cleanup_ = false;
}
} // namespace cc
« no previous file with comments | « cc/test/fake_tile_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698