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

Unified Diff: mash/example/window_type_launcher/main.cc

Issue 1550693002: Global conversion of Pass()→std::move() on Linux (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 | « jingle/notifier/base/xmpp_connection_unittest.cc ('k') | mash/wm/accelerator_registrar_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « jingle/notifier/base/xmpp_connection_unittest.cc ('k') | mash/wm/accelerator_registrar_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698