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

Unified Diff: mojo/runner/child/native_apptest_target.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/platform_handle/platform_handle_functions.cc ('k') | mojo/runner/child/runner_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/child/native_apptest_target.cc
diff --git a/mojo/runner/child/native_apptest_target.cc b/mojo/runner/child/native_apptest_target.cc
index f1844004485433ca1de778cbadedc11259afdccf..b036ce04eee3f1f7334228284c51bc7712b776c6 100644
--- a/mojo/runner/child/native_apptest_target.cc
+++ b/mojo/runner/child/native_apptest_target.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 "mojo/application/public/cpp/application_connection.h"
@@ -41,7 +43,7 @@ class TargetApplicationDelegate
void Create(mojo::ApplicationConnection* connection,
mojo::InterfaceRequest<mojo::runner::test::TestNativeService>
request) override {
- bindings_.AddBinding(this, request.Pass());
+ bindings_.AddBinding(this, std::move(request));
}
mojo::WeakBindingSet<mojo::runner::test::TestNativeService> bindings_;
« no previous file with comments | « mojo/platform_handle/platform_handle_functions.cc ('k') | mojo/runner/child/runner_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698