Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1067)

Unified Diff: media/mojo/services/media_apptest.cc

Issue 1544313002: Convert Pass()→std::move() in //media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/mojo/services/demuxer_stream_provider_shim.cc ('k') | media/mojo/services/media_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)));
}
« no previous file with comments | « media/mojo/services/demuxer_stream_provider_shim.cc ('k') | media/mojo/services/media_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698