Index: cc/resources/tile_manager_perftest.cc |
diff --git a/cc/resources/tile_manager_perftest.cc b/cc/resources/tile_manager_perftest.cc |
index 7f427fb6a835b7d56f043c21dfa0b92a65ece9dd..06b2058dd01bfbf6481241638d5c1d5b226020a9 100644 |
--- a/cc/resources/tile_manager_perftest.cc |
+++ b/cc/resources/tile_manager_perftest.cc |
@@ -332,7 +332,12 @@ TEST_F(TileManagerPerfTest, ManageTiles) { |
TEST_F(TileManagerPerfTest, RasterTileIterator) { |
SetupDefaultTrees(gfx::Size(10000, 10000)); |
+ |
+ active_root_layer_->SetBounds(gfx::Size(10000, 10000)); |
danakj
2014/05/21 15:01:00
Can you do these in SetupDefaultTrees?
|
+ active_root_layer_->SetContentBounds(gfx::Size(10000, 10000)); |
active_root_layer_->CreateDefaultTilingsAndTiles(); |
+ pending_root_layer_->SetBounds(gfx::Size(10000, 10000)); |
+ pending_root_layer_->SetContentBounds(gfx::Size(10000, 10000)); |
pending_root_layer_->CreateDefaultTilingsAndTiles(); |
RunRasterIteratorTest("2_16", 16); |