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

Unified Diff: cc/resources/picture_layer_tiling_set_unittest.cc

Issue 16190002: cc: Add new RasterWorkerPool interface. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 7 years, 7 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/resources/managed_tile_state.cc ('k') | cc/resources/pixel_buffer_raster_worker_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_layer_tiling_set_unittest.cc
diff --git a/cc/resources/picture_layer_tiling_set_unittest.cc b/cc/resources/picture_layer_tiling_set_unittest.cc
index 3d035e0c6c7f67caaba7c7e6eaf43618ccf1d28b..50a499a829d4f8194a0739fe9f6f15898971c2ae 100644
--- a/cc/resources/picture_layer_tiling_set_unittest.cc
+++ b/cc/resources/picture_layer_tiling_set_unittest.cc
@@ -76,11 +76,11 @@ class PictureLayerTilingSetTestWithResources : public testing::Test {
for (size_t i = 0; i < tiles.size(); ++i) {
EXPECT_FALSE(tiles[i]->tile_version().GetResourceForTesting());
- tiles[i]->tile_version().GetResourceForTesting() =
+ tiles[i]->tile_version().SetResourceForTesting(
make_scoped_ptr(new ResourcePool::Resource(
resource_provider.get(),
gfx::Size(1, 1),
- resource_provider->best_texture_format()));
+ resource_provider->best_texture_format())));
tiles[i]->tile_version().SetMemoryStateForTesting(
USING_RELEASABLE_MEMORY);
}
« no previous file with comments | « cc/resources/managed_tile_state.cc ('k') | cc/resources/pixel_buffer_raster_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698