Index: cc/resources/resource_provider.cc |
diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc |
index 3973fb8868c24a9a8d86b4eeea72e5f525dcec60..464d0a9dc9c4fa01c87ffa020e7d9f3d71a7825b 100644 |
--- a/cc/resources/resource_provider.cc |
+++ b/cc/resources/resource_provider.cc |
@@ -584,8 +584,8 @@ ResourceProvider::ResourceType ResourceProvider::GetResourceType( |
void ResourceProvider::SetPixels(ResourceId id, |
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) { |
Resource* resource = GetResource(id); |
DCHECK(!resource->locked_for_write); |