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

Unified Diff: cc/test/fake_tile_manager.cc

Issue 860813002: Remove the default format from ResourcePool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error in perftest. Created 5 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
Index: cc/test/fake_tile_manager.cc
diff --git a/cc/test/fake_tile_manager.cc b/cc/test/fake_tile_manager.cc
index f876271f8dae89f073c294f250bf9cfbb52fea28..c129347de110ae1c0ad81e36efe5dd4aa2ff28bb 100644
--- a/cc/test/fake_tile_manager.cc
+++ b/cc/test/fake_tile_manager.cc
@@ -66,16 +66,19 @@ FakeTileManager::FakeTileManager(TileManagerClient* client)
: TileManager(client,
base::MessageLoopProxy::current(),
nullptr,
+ RGBA_8888,
g_fake_tile_task_runner.Pointer(),
nullptr,
std::numeric_limits<size_t>::max()) {
}
FakeTileManager::FakeTileManager(TileManagerClient* client,
- ResourcePool* resource_pool)
+ ResourcePool* resource_pool,
+ ResourceFormat resource_format)
: TileManager(client,
base::MessageLoopProxy::current(),
resource_pool,
+ resource_format,
g_fake_tile_task_runner.Pointer(),
nullptr,
std::numeric_limits<size_t>::max()) {

Powered by Google App Engine
This is Rietveld 408576698