summaryrefslogtreecommitdiffstats
path: root/cc/scoped_resource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/scoped_resource.cc')
-rw-r--r--cc/scoped_resource.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/scoped_resource.cc b/cc/scoped_resource.cc
index 5295b55..c5894aa 100644
--- a/cc/scoped_resource.cc
+++ b/cc/scoped_resource.cc
@@ -15,13 +15,13 @@ ScopedResource::~ScopedResource() {
Free();
}
-bool ScopedResource::Allocate(int pool, const gfx::Size& size, GLenum format,
+bool ScopedResource::Allocate(const gfx::Size& size, GLenum format,
ResourceProvider::TextureUsageHint hint) {
DCHECK(!id());
DCHECK(!size.IsEmpty());
set_dimensions(size, format);
- set_id(resource_provider_->createResource(pool, size, format, hint));
+ set_id(resource_provider_->createResource(size, format, hint));
#ifndef NDEBUG
allocate_thread_id_ = base::PlatformThread::CurrentId();