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