Index: cc/resources/prioritized_resource.cc |
diff --git a/cc/resources/prioritized_resource.cc b/cc/resources/prioritized_resource.cc |
index f62ee40b0cb2fabeaef0ca989468dc86c4fee9bf..25415f58bf06fef17c193622fb574785b2a5b491 100644 |
--- a/cc/resources/prioritized_resource.cc |
+++ b/cc/resources/prioritized_resource.cc |
@@ -76,8 +76,8 @@ void PrioritizedResource::AcquireBackingTexture( |
void PrioritizedResource::SetPixels(ResourceProvider* resource_provider, |
const uint8_t* image, |
- gfx::Rect image_rect, |
- gfx::Rect source_rect, |
+ const gfx::Rect& image_rect, |
+ const gfx::Rect& source_rect, |
gfx::Vector2d dest_offset) { |
DCHECK(is_above_priority_cutoff_); |
if (is_above_priority_cutoff_) |