summaryrefslogtreecommitdiffstats
path: root/cc/test/test_texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test/test_texture.h')
-rw-r--r--cc/test/test_texture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/test/test_texture.h b/cc/test/test_texture.h
index f5070e1..0e50bf0 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;