Index: cc/test/fake_picture_layer_tiling_client.cc |
diff --git a/cc/test/fake_picture_layer_tiling_client.cc b/cc/test/fake_picture_layer_tiling_client.cc |
index 2149ff4792f401de9be9831af7358c7210d4e078..a218a212e8496f40a5f0e0bfd446eb994f27dd53 100644 |
--- a/cc/test/fake_picture_layer_tiling_client.cc |
+++ b/cc/test/fake_picture_layer_tiling_client.cc |
@@ -17,6 +17,7 @@ FakePictureLayerTilingClient::FakePictureLayerTilingClient() |
twin_tiling_(NULL), |
recycled_twin_tiling_(NULL), |
allow_create_tile_(true), |
+ max_tile_priority_bin_(TilePriority::NOW), |
max_tiles_for_interest_area_(10000), |
skewport_target_time_in_seconds_(1.0f), |
skewport_extrapolation_limit_in_content_pixels_(2000) { |
@@ -32,6 +33,7 @@ FakePictureLayerTilingClient::FakePictureLayerTilingClient( |
twin_tiling_(NULL), |
recycled_twin_tiling_(NULL), |
allow_create_tile_(true), |
+ max_tile_priority_bin_(TilePriority::NOW), |
max_tiles_for_interest_area_(10000), |
skewport_target_time_in_seconds_(1.0f) { |
} |
@@ -60,6 +62,11 @@ gfx::Size FakePictureLayerTilingClient::CalculateTileSize( |
return tile_size_; |
} |
+TilePriority::PriorityBin FakePictureLayerTilingClient::GetMaxTilePriorityBin() |
+ const { |
+ return max_tile_priority_bin_; |
+} |
+ |
size_t FakePictureLayerTilingClient::GetMaxTilesForInterestArea() const { |
return max_tiles_for_interest_area_; |
} |