Index: cc/tiles/tile_manager_unittest.cc |
diff --git a/cc/tiles/tile_manager_unittest.cc b/cc/tiles/tile_manager_unittest.cc |
index 0c6451d7c046fe8cb472bf872e7646d231637580..db1e5d75da264fda541a11c0a7e15762c26d34fe 100644 |
--- a/cc/tiles/tile_manager_unittest.cc |
+++ b/cc/tiles/tile_manager_unittest.cc |
@@ -29,10 +29,7 @@ namespace { |
class LowResTilingsSettings : public LayerTreeSettings { |
public: |
- LowResTilingsSettings() { |
- tiling_interest_area_viewport_multiplier = 10000; |
- create_low_res_tiling = true; |
- } |
+ LowResTilingsSettings() { create_low_res_tiling = true; } |
}; |
class TileManagerTilePriorityQueueTest : public testing::Test { |
@@ -1162,10 +1159,10 @@ TEST_F(TileManagerTilePriorityQueueTest, |
client.SetTileSize(gfx::Size(30, 30)); |
LayerTreeSettings settings; |
- settings.tiling_interest_area_viewport_multiplier = 10000; |
+ settings.max_tiles_for_interest_area = 10000; |
scoped_ptr<PictureLayerTilingSet> tiling_set = PictureLayerTilingSet::Create( |
- ACTIVE_TREE, &client, settings.tiling_interest_area_viewport_multiplier, |
+ ACTIVE_TREE, &client, settings.max_tiles_for_interest_area, |
settings.skewport_target_time_in_seconds, |
settings.skewport_extrapolation_limit_in_content_pixels); |
@@ -1272,9 +1269,10 @@ TEST_F(TileManagerTilePriorityQueueTest, |
client.SetTileSize(gfx::Size(30, 30)); |
LayerTreeSettings settings; |
+ settings.max_tiles_for_interest_area = 10000; |
scoped_ptr<PictureLayerTilingSet> tiling_set = PictureLayerTilingSet::Create( |
- ACTIVE_TREE, &client, settings.tiling_interest_area_viewport_multiplier, |
+ ACTIVE_TREE, &client, settings.max_tiles_for_interest_area, |
settings.skewport_target_time_in_seconds, |
settings.skewport_extrapolation_limit_in_content_pixels); |