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

Unified Diff: mojo/runner/child/test_native_main.cc

Issue 1538823002: Convert Pass()→std::move() in mojo/ (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 | « mojo/runner/child/runner_connection.cc ('k') | mojo/runner/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/child/test_native_main.cc
diff --git a/mojo/runner/child/test_native_main.cc b/mojo/runner/child/test_native_main.cc
index 326233e2290b4c0ec8e2e0e5a8617087c99cc397..cdfe0a0e5e5caa1886d600c085a7bd87840be112 100644
--- a/mojo/runner/child/test_native_main.cc
+++ b/mojo/runner/child/test_native_main.cc
@@ -4,6 +4,8 @@
#include "mojo/runner/child/test_native_main.h"
+#include <utility>
+
#include "base/debug/stack_trace.h"
#include "base/message_loop/message_loop.h"
#include "base/process/launch.h"
@@ -63,7 +65,7 @@ int TestNativeMain(mojo::ApplicationDelegate* application_delegate) {
&application_request, ScopedMessagePipeHandle()));
base::MessageLoop loop(mojo::common::MessagePumpMojo::Create());
mojo::ApplicationImpl impl(application_delegate,
- application_request.Pass());
+ std::move(application_request));
loop.Run();
mojo::embedder::ShutdownIPCSupport();
« no previous file with comments | « mojo/runner/child/runner_connection.cc ('k') | mojo/runner/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698