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

Unified Diff: cc/picture_layer_tiling_set_unittest.cc

Issue 12082086: cc: Improve tile deletion and general tile manager performance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Detach managed state from tiles Created 7 years, 10 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/tile.h » ('j') | cc/tile_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer_tiling_set_unittest.cc
diff --git a/cc/picture_layer_tiling_set_unittest.cc b/cc/picture_layer_tiling_set_unittest.cc
index 17affd719ce0027536ebd1ad874bf8d0fa935e14..363ddf15755abdc4938c67589db7b706671dfba3 100644
--- a/cc/picture_layer_tiling_set_unittest.cc
+++ b/cc/picture_layer_tiling_set_unittest.cc
@@ -75,9 +75,9 @@ class PictureLayerTilingSetTestWithResources : public testing::Test {
PictureLayerTiling* tiling = set.AddTiling(scale);
std::vector<Tile*> tiles = tiling->AllTilesForTesting();
for (size_t i = 0; i < tiles.size(); ++i) {
- EXPECT_FALSE(tiles[i]->ManagedStateForTesting().resource);
+ EXPECT_FALSE(tiles[i]->ManagedStateForTesting()->resource);
- tiles[i]->ManagedStateForTesting().resource =
+ tiles[i]->ManagedStateForTesting()->resource =
make_scoped_ptr(new ResourcePool::Resource(
resource_provider.get(),
gfx::Size(1, 1),
« no previous file with comments | « no previous file | cc/tile.h » ('j') | cc/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698