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

Unified Diff: cc/test/fake_tile_manager.cc

Issue 1229223003: Revert of Reland: cc: Make tile manager object persist for the length of LTHI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | cc/tiles/tile_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_tile_manager.cc
diff --git a/cc/test/fake_tile_manager.cc b/cc/test/fake_tile_manager.cc
index dedb51b7749a0894b3e301f711154e1c1c899c62..146da3730ce61196d0096a6700177c0f9e88b997 100644
--- a/cc/test/fake_tile_manager.cc
+++ b/cc/test/fake_tile_manager.cc
@@ -72,18 +72,18 @@
FakeTileManager::FakeTileManager(TileManagerClient* client)
: TileManager(client,
base::ThreadTaskRunnerHandle::Get(),
+ nullptr,
+ g_fake_tile_task_runner.Pointer(),
std::numeric_limits<size_t>::max()) {
- SetResources(nullptr, g_fake_tile_task_runner.Pointer(),
- std::numeric_limits<size_t>::max());
}
FakeTileManager::FakeTileManager(TileManagerClient* client,
ResourcePool* resource_pool)
: TileManager(client,
base::ThreadTaskRunnerHandle::Get(),
+ resource_pool,
+ g_fake_tile_task_runner.Pointer(),
std::numeric_limits<size_t>::max()) {
- SetResources(resource_pool, g_fake_tile_task_runner.Pointer(),
- std::numeric_limits<size_t>::max());
}
FakeTileManager::~FakeTileManager() {}
« no previous file with comments | « no previous file | cc/tiles/tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698