Index: media/mojo/services/media_apptest.cc |
diff --git a/media/mojo/services/media_apptest.cc b/media/mojo/services/media_apptest.cc |
index 6064d342ed2289a6f2f8258aef7059d2a3e0a4b5..be5e4abdd9b021e869b021833d5c8f745686aa03 100644 |
--- a/media/mojo/services/media_apptest.cc |
+++ b/media/mojo/services/media_apptest.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include <stdint.h> |
+#include <utility> |
#include "base/bind.h" |
#include "base/callback.h" |
@@ -106,7 +107,8 @@ class MediaAppTest : public mojo::test::ApplicationTestBase { |
EXPECT_CALL(*this, OnRendererInitialized(expected_result)) |
.Times(Exactly(1)) |
.WillOnce(InvokeWithoutArgs(run_loop_.get(), &base::RunLoop::Quit)); |
- renderer_->Initialize(client_ptr.Pass(), nullptr, video_stream.Pass(), |
+ renderer_->Initialize(std::move(client_ptr), nullptr, |
+ std::move(video_stream), |
base::Bind(&MediaAppTest::OnRendererInitialized, |
base::Unretained(this))); |
} |