Index: cc/test/test_context_support.cc |
diff --git a/cc/test/test_context_support.cc b/cc/test/test_context_support.cc |
index 9558042b56081cf2442d5c8ae40861144c5735e9..3c2e31a819171b7f30215cf3043beec584c1b619 100644 |
--- a/cc/test/test_context_support.cc |
+++ b/cc/test/test_context_support.cc |
@@ -63,7 +63,7 @@ void TestContextSupport::Swap() { |
weak_ptr_factory_.GetWeakPtr())); |
} |
-void TestContextSupport::PartialSwapBuffers(gfx::Rect sub_buffer) { |
+void TestContextSupport::PartialSwapBuffers(const gfx::Rect& sub_buffer) { |
last_swap_type_ = PARTIAL_SWAP; |
last_partial_swap_rect_ = sub_buffer; |
base::MessageLoop::current()->PostTask( |