Index: mash/example/window_type_launcher/main.cc |
diff --git a/mash/example/window_type_launcher/main.cc b/mash/example/window_type_launcher/main.cc |
index f22a09ee5ab11a7411b59c0dc01a97bcc2200f5c..826820af7f869b0f97f62fe67f8f97378139c1e5 100644 |
--- a/mash/example/window_type_launcher/main.cc |
+++ b/mash/example/window_type_launcher/main.cc |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <utility> |
+ |
#include "base/at_exit.h" |
#include "base/command_line.h" |
#include "base/debug/stack_trace.h" |
@@ -69,7 +71,7 @@ int main(int argc, char** argv) { |
&application_request, mojo::ScopedMessagePipeHandle())); |
base::MessageLoop loop(mojo::common::MessagePumpMojo::Create()); |
WindowTypeLauncher delegate; |
- mojo::ApplicationImpl impl(&delegate, application_request.Pass()); |
+ mojo::ApplicationImpl impl(&delegate, std::move(application_request)); |
loop.Run(); |
mojo::embedder::ShutdownIPCSupport(); |