diff options
Diffstat (limited to 'cc/resources/resource_pool.cc')
-rw-r--r-- | cc/resources/resource_pool.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/resources/resource_pool.cc b/cc/resources/resource_pool.cc index bf5ff3f..7170a39 100644 --- a/cc/resources/resource_pool.cc +++ b/cc/resources/resource_pool.cc @@ -35,7 +35,8 @@ ResourcePool::~ResourcePool() { DCHECK_EQ(0u, resource_count_); } -scoped_ptr<ScopedResource> ResourcePool::AcquireResource(gfx::Size size) { +scoped_ptr<ScopedResource> ResourcePool::AcquireResource( + const gfx::Size& size) { for (ResourceList::iterator it = unused_resources_.begin(); it != unused_resources_.end(); ++it) { |