Index: cc/resources/picture_layer_tiling_set.cc |
diff --git a/cc/resources/picture_layer_tiling_set.cc b/cc/resources/picture_layer_tiling_set.cc |
index 6f540bfacfb93f0fdbd9f924d1cf25a446d1b077..309e4f5342910743203abc2c8ff40ef5eb394bba 100644 |
--- a/cc/resources/picture_layer_tiling_set.cc |
+++ b/cc/resources/picture_layer_tiling_set.cc |
@@ -31,11 +31,11 @@ inline float LargerRatio(float float1, float float2) { |
scoped_ptr<PictureLayerTilingSet> PictureLayerTilingSet::Create( |
WhichTree tree, |
PictureLayerTilingClient* client, |
- size_t max_tiles_for_interest_area, |
+ float tiling_interest_area_viewport_multiplier, |
float skewport_target_time_in_seconds, |
int skewport_extrapolation_limit_in_content_pixels) { |
return make_scoped_ptr(new PictureLayerTilingSet( |
- tree, client, max_tiles_for_interest_area, |
+ tree, client, tiling_interest_area_viewport_multiplier, |
skewport_target_time_in_seconds, |
skewport_extrapolation_limit_in_content_pixels)); |
} |
@@ -43,10 +43,11 @@ scoped_ptr<PictureLayerTilingSet> PictureLayerTilingSet::Create( |
PictureLayerTilingSet::PictureLayerTilingSet( |
WhichTree tree, |
PictureLayerTilingClient* client, |
- size_t max_tiles_for_interest_area, |
+ float tiling_interest_area_viewport_multiplier, |
float skewport_target_time_in_seconds, |
int skewport_extrapolation_limit_in_content_pixels) |
- : max_tiles_for_interest_area_(max_tiles_for_interest_area), |
+ : tiling_interest_area_viewport_multiplier_( |
+ tiling_interest_area_viewport_multiplier), |
skewport_target_time_in_seconds_(skewport_target_time_in_seconds), |
skewport_extrapolation_limit_in_content_pixels_( |
skewport_extrapolation_limit_in_content_pixels), |
@@ -76,7 +77,8 @@ void PictureLayerTilingSet::CopyTilingsAndPropertiesFromPendingTwin( |
if (!this_tiling) { |
scoped_ptr<PictureLayerTiling> new_tiling = PictureLayerTiling::Create( |
tree_, contents_scale, raster_source, client_, |
- max_tiles_for_interest_area_, skewport_target_time_in_seconds_, |
+ tiling_interest_area_viewport_multiplier_, |
+ skewport_target_time_in_seconds_, |
skewport_extrapolation_limit_in_content_pixels_); |
tilings_.push_back(new_tiling.Pass()); |
this_tiling = tilings_.back(); |
@@ -264,7 +266,8 @@ PictureLayerTiling* PictureLayerTilingSet::AddTiling( |
tilings_.push_back(PictureLayerTiling::Create( |
tree_, contents_scale, raster_source, client_, |
- max_tiles_for_interest_area_, skewport_target_time_in_seconds_, |
+ tiling_interest_area_viewport_multiplier_, |
+ skewport_target_time_in_seconds_, |
skewport_extrapolation_limit_in_content_pixels_)); |
PictureLayerTiling* appended = tilings_.back(); |