summaryrefslogtreecommitdiffstats
path: root/cc/resources/scoped_resource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/scoped_resource.cc')
-rw-r--r--cc/resources/scoped_resource.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/resources/scoped_resource.cc b/cc/resources/scoped_resource.cc
index a320bab..99f93c9 100644
--- a/cc/resources/scoped_resource.cc
+++ b/cc/resources/scoped_resource.cc
@@ -15,7 +15,7 @@ ScopedResource::~ScopedResource() {
Free();
}
-void ScopedResource::Allocate(const gfx::Size& size,
+void ScopedResource::Allocate(gfx::Size size,
ResourceProvider::TextureUsageHint hint,
ResourceFormat format) {
DCHECK(!id());
@@ -30,7 +30,7 @@ void ScopedResource::Allocate(const gfx::Size& size,
#endif
}
-void ScopedResource::AllocateManaged(const gfx::Size& size,
+void ScopedResource::AllocateManaged(gfx::Size size,
GLenum target,
ResourceFormat format) {
DCHECK(!id());