Index: cc/resources/scoped_resource.h |
diff --git a/cc/resources/scoped_resource.h b/cc/resources/scoped_resource.h |
index 63f2cd48c478fd3518ca2631b5f985a0c390b55a..eebddc19ea1c8819fe847d29f59a22c4b8840ade 100644 |
--- a/cc/resources/scoped_resource.h |
+++ b/cc/resources/scoped_resource.h |
@@ -25,10 +25,12 @@ class CC_EXPORT ScopedResource : public Resource { |
} |
virtual ~ScopedResource(); |
- void Allocate(gfx::Size size, |
+ void Allocate(const gfx::Size& size, |
ResourceProvider::TextureUsageHint hint, |
ResourceFormat format); |
- void AllocateManaged(gfx::Size size, GLenum target, ResourceFormat format); |
+ void AllocateManaged(const gfx::Size& size, |
+ GLenum target, |
+ ResourceFormat format); |
void Free(); |
void Leak(); |