diff options
Diffstat (limited to 'cc/test/test_context_support.cc')
-rw-r--r-- | cc/test/test_context_support.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/test/test_context_support.cc b/cc/test/test_context_support.cc index 9558042..3c2e31a 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( |