summaryrefslogtreecommitdiffstats
path: root/cc/resources/resource_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/resource_provider.h')
-rw-r--r--cc/resources/resource_provider.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index 6e5c61a..22ce8a8 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.