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(); |