Index: cc/output/output_surface_unittest.cc |
diff --git a/cc/output/output_surface_unittest.cc b/cc/output/output_surface_unittest.cc |
index b09ead46493f9e3b668a26d1021ba0f255ff3b33..36848522ea5bba9f9c2f2cc6a2ef995a73c8b7ce 100644 |
--- a/cc/output/output_surface_unittest.cc |
+++ b/cc/output/output_surface_unittest.cc |
@@ -29,11 +29,11 @@ class TestOutputSurface : public OutputSurface { |
: OutputSurface(worker_context_provider) {} |
explicit TestOutputSurface(scoped_ptr<SoftwareOutputDevice> software_device) |
- : OutputSurface(software_device.Pass()) {} |
+ : OutputSurface(std::move(software_device)) {} |
TestOutputSurface(scoped_refptr<ContextProvider> context_provider, |
scoped_ptr<SoftwareOutputDevice> software_device) |
- : OutputSurface(context_provider, software_device.Pass()) {} |
+ : OutputSurface(context_provider, std::move(software_device)) {} |
void SwapBuffers(CompositorFrame* frame) override { |
client_->DidSwapBuffers(); |