Index: cc/resources/resource_update.cc |
diff --git a/cc/resources/resource_update.cc b/cc/resources/resource_update.cc |
index 7f89d8cd9673fc049e5c457e833affc0ec508b34..f24962a66f30dbe1887a6df49a53be6859409a04 100644 |
--- a/cc/resources/resource_update.cc |
+++ b/cc/resources/resource_update.cc |
@@ -10,8 +10,8 @@ namespace cc { |
ResourceUpdate ResourceUpdate::Create(PrioritizedResource* resource, |
const SkBitmap* bitmap, |
- gfx::Rect content_rect, |
- gfx::Rect source_rect, |
+ const gfx::Rect& content_rect, |
+ const gfx::Rect& source_rect, |
gfx::Vector2d dest_offset) { |
CHECK(content_rect.Contains(source_rect)); |
ResourceUpdate update; |