Index: cc/resources/scoped_resource.cc |
diff --git a/cc/resources/scoped_resource.cc b/cc/resources/scoped_resource.cc |
index 99f93c9bc8536e49763fb2a6aff3ca285b1a25d0..a320babbb69efdccdaf4d1d0a68bc92b6769b7e8 100644 |
--- a/cc/resources/scoped_resource.cc |
+++ b/cc/resources/scoped_resource.cc |
@@ -15,7 +15,7 @@ ScopedResource::~ScopedResource() { |
Free(); |
} |
-void ScopedResource::Allocate(gfx::Size size, |
+void ScopedResource::Allocate(const gfx::Size& size, |
ResourceProvider::TextureUsageHint hint, |
ResourceFormat format) { |
DCHECK(!id()); |
@@ -30,7 +30,7 @@ void ScopedResource::Allocate(gfx::Size size, |
#endif |
} |
-void ScopedResource::AllocateManaged(gfx::Size size, |
+void ScopedResource::AllocateManaged(const gfx::Size& size, |
GLenum target, |
ResourceFormat format) { |
DCHECK(!id()); |