Index: cc/scheduler/texture_uploader.h |
diff --git a/cc/scheduler/texture_uploader.h b/cc/scheduler/texture_uploader.h |
index 362f00199da8244f550f629296de90f63cdf1108..709cb3169f14f00d46057f2b7399ff6b815b4049 100644 |
--- a/cc/scheduler/texture_uploader.h |
+++ b/cc/scheduler/texture_uploader.h |
@@ -47,7 +47,7 @@ class CC_EXPORT TextureUploader { |
const gfx::Rect& source_rect, |
gfx::Vector2d dest_offset, |
ResourceFormat format, |
- gfx::Size size); |
+ const gfx::Size& size); |
void Flush(); |
void ReleaseCachedQueries(); |
@@ -101,7 +101,7 @@ class CC_EXPORT TextureUploader { |
const gfx::Rect& source_rect, |
gfx::Vector2d dest_offset, |
ResourceFormat format); |
- void UploadWithTexImageETC1(const uint8* image, gfx::Size size); |
+ void UploadWithTexImageETC1(const uint8* image, const gfx::Size& size); |
gpu::gles2::GLES2Interface* gl_; |
ScopedPtrDeque<Query> pending_queries_; |