Index: cc/resources/prioritized_resource_manager.h |
diff --git a/cc/resources/prioritized_resource_manager.h b/cc/resources/prioritized_resource_manager.h |
index 9b558a45b8ffa3a660d885a17c07da7348e49cb3..092b1d720fd7e1479ca6e5af2455d267da9b52a1 100644 |
--- a/cc/resources/prioritized_resource_manager.h |
+++ b/cc/resources/prioritized_resource_manager.h |
@@ -40,7 +40,7 @@ class CC_EXPORT PrioritizedResourceManager { |
return make_scoped_ptr(new PrioritizedResourceManager(proxy)); |
} |
scoped_ptr<PrioritizedResource> CreateTexture( |
- gfx::Size size, ResourceFormat format) { |
+ const gfx::Size& size, ResourceFormat format) { |
return make_scoped_ptr(new PrioritizedResource(this, size, format)); |
} |
~PrioritizedResourceManager(); |
@@ -189,7 +189,7 @@ class CC_EXPORT PrioritizedResourceManager { |
UnlinkPolicy unlink_policy, |
ResourceProvider* resource_provider); |
PrioritizedResource::Backing* CreateBacking( |
- gfx::Size size, |
+ const gfx::Size& size, |
ResourceFormat format, |
ResourceProvider* resource_provider); |
void EvictFirstBackingResource(ResourceProvider* resource_provider); |