Index: gpu/command_buffer/client/context_support.h |
diff --git a/gpu/command_buffer/client/context_support.h b/gpu/command_buffer/client/context_support.h |
index 6a8972081ca40677c5f19330b8f624e75af0529e..b5e771368c06de4f13bdb728f5bbbec2b3e79fe8 100644 |
--- a/gpu/command_buffer/client/context_support.h |
+++ b/gpu/command_buffer/client/context_support.h |
@@ -28,7 +28,7 @@ class ContextSupport { |
virtual void SendManagedMemoryStats(const ManagedMemoryStats& stats) = 0; |
virtual void Swap() = 0; |
- virtual void PartialSwapBuffers(gfx::Rect sub_buffer) = 0; |
+ virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) = 0; |
virtual void SetSwapBuffersCompleteCallback( |
const base::Closure& callback) = 0; |