Index: cc/test/test_texture.h |
diff --git a/cc/test/test_texture.h b/cc/test/test_texture.h |
index f5070e179176f86a4ec10ed2fc09783aa00da52e..0e50bf006e0e4768c1d5a4facc4de64e4b9071b3 100644 |
--- a/cc/test/test_texture.h |
+++ b/cc/test/test_texture.h |
@@ -14,12 +14,12 @@ |
namespace cc { |
-size_t TextureSizeBytes(gfx::Size size, ResourceFormat format); |
+size_t TextureSizeBytes(const gfx::Size& size, ResourceFormat format); |
struct TestTexture : public base::RefCounted<TestTexture> { |
TestTexture(); |
- void Reallocate(gfx::Size size, ResourceFormat format); |
+ void Reallocate(const gfx::Size& size, ResourceFormat format); |
bool IsValidParameter(GLenum pname); |
gfx::Size size; |