Index: gpu/command_buffer/client/gles2_implementation.cc |
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc |
index 2d02579b116672e26da92edc5e66c7dcc6ae56b8..93aa3d63a61b9a2dee29f7f87f067fe79233fe31 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.cc |
+++ b/gpu/command_buffer/client/gles2_implementation.cc |
@@ -2781,7 +2781,7 @@ void GLES2Implementation::Swap() { |
weak_ptr_factory_.GetWeakPtr())); |
} |
-void GLES2Implementation::PartialSwapBuffers(gfx::Rect sub_buffer) { |
+void GLES2Implementation::PartialSwapBuffers(const gfx::Rect& sub_buffer) { |
PostSubBufferCHROMIUM(sub_buffer.x(), |
sub_buffer.y(), |
sub_buffer.width(), |