| Index: cc/scheduler/texture_uploader.cc
|
| diff --git a/cc/scheduler/texture_uploader.cc b/cc/scheduler/texture_uploader.cc
|
| index e194ede6b74edfac19373e59a06bb043e2372ef1..784f762410422aeaa8c582960dc1678f645cb693 100644
|
| --- a/cc/scheduler/texture_uploader.cc
|
| +++ b/cc/scheduler/texture_uploader.cc
|
| @@ -131,7 +131,7 @@ void TextureUploader::EndQuery() {
|
| void TextureUploader::Upload(const uint8* image,
|
| const gfx::Rect& image_rect,
|
| const gfx::Rect& source_rect,
|
| - gfx::Vector2d dest_offset,
|
| + const gfx::Vector2d& dest_offset,
|
| ResourceFormat format,
|
| gfx::Size size) {
|
| CHECK(image_rect.Contains(source_rect));
|
| @@ -175,7 +175,7 @@ void TextureUploader::ReleaseCachedQueries() {
|
| void TextureUploader::UploadWithTexSubImage(const uint8* image,
|
| const gfx::Rect& image_rect,
|
| const gfx::Rect& source_rect,
|
| - gfx::Vector2d dest_offset,
|
| + const gfx::Vector2d& dest_offset,
|
| ResourceFormat format) {
|
| TRACE_EVENT0("cc", "TextureUploader::UploadWithTexSubImage");
|
|
|
| @@ -229,7 +229,7 @@ void TextureUploader::UploadWithTexSubImage(const uint8* image,
|
| void TextureUploader::UploadWithMapTexSubImage(const uint8* image,
|
| const gfx::Rect& image_rect,
|
| const gfx::Rect& source_rect,
|
| - gfx::Vector2d dest_offset,
|
| + const gfx::Vector2d& dest_offset,
|
| ResourceFormat format) {
|
| TRACE_EVENT0("cc", "TextureUploader::UploadWithMapTexSubImage");
|
|
|
|
|