Index: cc/resources/resource_pool.cc |
diff --git a/cc/resources/resource_pool.cc b/cc/resources/resource_pool.cc |
index bf5ff3fbfa6a9da2bfc0cba21f94c6e39964824c..7170a397c7086016dbca69d0bfcf8341f0898b5d 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) { |