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

Unified Diff: cc/test/fake_picture_layer_tiling_client.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_picture_layer_tiling_client.cc
diff --git a/cc/test/fake_picture_layer_tiling_client.cc b/cc/test/fake_picture_layer_tiling_client.cc
index 293d4f6563e82ad1cf0fe684fa7fdc55bce5bb06..d140f05233b07a8b7568f9f43f061587d5d35372 100644
--- a/cc/test/fake_picture_layer_tiling_client.cc
+++ b/cc/test/fake_picture_layer_tiling_client.cc
@@ -23,9 +23,9 @@ FakePictureLayerTilingClient::FakePictureLayerTilingClient()
FakePictureLayerTilingClient::FakePictureLayerTilingClient(
ResourceProvider* resource_provider)
: resource_pool_(
- ResourcePool::Create(resource_provider, GL_TEXTURE_2D, RGBA_8888)),
- tile_manager_(
- new FakeTileManager(&tile_manager_client_, resource_pool_.get())),
+ ResourcePool::Create(resource_provider, GL_TEXTURE_2D)),
+ tile_manager_(new FakeTileManager(
+ &tile_manager_client_, resource_pool_.get(), RGBA_8888)),
pile_(FakePicturePileImpl::CreateInfiniteFilledPile()),
twin_set_(nullptr),
twin_tiling_(nullptr),

Powered by Google App Engine
This is Rietveld 408576698