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 5ad26506fd768c7b83f7c5324dfd8abf4e13adef..2047c3a7fed9f771453dafb02a5a2985c8ebe061 100644 |
--- a/cc/resources/picture_layer_tiling_set.cc |
+++ b/cc/resources/picture_layer_tiling_set.cc |
@@ -147,7 +147,7 @@ void PictureLayerTilingSet::RemoveAllTiles() { |
PictureLayerTilingSet::CoverageIterator::CoverageIterator( |
const PictureLayerTilingSet* set, |
float contents_scale, |
- gfx::Rect content_rect, |
+ const gfx::Rect& content_rect, |
float ideal_contents_scale) |
: set_(set), |
contents_scale_(contents_scale), |
@@ -304,8 +304,8 @@ PictureLayerTilingSet::CoverageIterator::operator bool() const { |
void PictureLayerTilingSet::UpdateTilePriorities( |
WhichTree tree, |
gfx::Size device_viewport, |
- gfx::Rect viewport_in_content_space, |
- gfx::Rect visible_content_rect, |
+ const gfx::Rect& viewport_in_content_space, |
+ const gfx::Rect& visible_content_rect, |
gfx::Size last_layer_bounds, |
gfx::Size current_layer_bounds, |
float last_layer_contents_scale, |