Index: cc/resources/tile_manager_unittest.cc |
diff --git a/cc/resources/tile_manager_unittest.cc b/cc/resources/tile_manager_unittest.cc |
index acd3a740bb3c84cb67966762fc6231b77b643739..5e32494dddad1c250928e52f3083a6446f27b084 100644 |
--- a/cc/resources/tile_manager_unittest.cc |
+++ b/cc/resources/tile_manager_unittest.cc |
@@ -30,7 +30,10 @@ namespace { |
class LowResTilingsSettings : public ImplSidePaintingSettings { |
public: |
- LowResTilingsSettings() { create_low_res_tiling = true; } |
+ LowResTilingsSettings() { |
+ tiling_interest_area_viewport_multiplier = 10000; |
+ create_low_res_tiling = true; |
+ } |
}; |
class TileManagerTilePriorityQueueTest : public testing::Test { |
@@ -1176,10 +1179,10 @@ TEST_F(TileManagerTilePriorityQueueTest, |
client.SetTileSize(gfx::Size(30, 30)); |
LayerTreeSettings settings; |
- settings.max_tiles_for_interest_area = 10000; |
+ settings.tiling_interest_area_viewport_multiplier = 10000; |
scoped_ptr<PictureLayerTilingSet> tiling_set = PictureLayerTilingSet::Create( |
- ACTIVE_TREE, &client, settings.max_tiles_for_interest_area, |
+ ACTIVE_TREE, &client, settings.tiling_interest_area_viewport_multiplier, |
settings.skewport_target_time_in_seconds, |
settings.skewport_extrapolation_limit_in_content_pixels); |
@@ -1286,10 +1289,9 @@ 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.max_tiles_for_interest_area, |
+ ACTIVE_TREE, &client, settings.tiling_interest_area_viewport_multiplier, |
settings.skewport_target_time_in_seconds, |
settings.skewport_extrapolation_limit_in_content_pixels); |