Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / cc / test / test_texture.h
index f5070e1..0e50bf0 100644 (file)
 
 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;