Index: cc/resources/resource_provider.h |
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h |
index 6e5c61a2bfa72a52c06282de8699cc4cd2a1e8e6..22ce8a855b161ab37ef0a3f9d9fcb91642e56cfd 100644 |
--- a/cc/resources/resource_provider.h |
+++ b/cc/resources/resource_provider.h |
@@ -135,8 +135,8 @@ class CC_EXPORT ResourceProvider { |
// the resource). |
void 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); |
// Check upload status. |