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

Unified Diff: content/browser/mojo/mojo_app_connection_impl.cc

Issue 1545243002: Convert Pass()→std::move() in //content/browser (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 | « content/browser/media/webrtc_internals.cc ('k') | content/browser/mojo/mojo_application_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mojo/mojo_app_connection_impl.cc
diff --git a/content/browser/mojo/mojo_app_connection_impl.cc b/content/browser/mojo/mojo_app_connection_impl.cc
index 4fe85842af6df689fe7967b4960dfa72d0c822a3..2f55450eb1248dba88db5f44fdb629a91b686613 100644
--- a/content/browser/mojo/mojo_app_connection_impl.cc
+++ b/content/browser/mojo/mojo_app_connection_impl.cc
@@ -5,6 +5,7 @@
#include "content/browser/mojo/mojo_app_connection_impl.h"
#include <stdint.h>
+#include <utility>
#include "base/bind.h"
#include "content/browser/mojo/mojo_shell_context.h"
@@ -40,7 +41,7 @@ MojoAppConnectionImpl::~MojoAppConnectionImpl() {
void MojoAppConnectionImpl::ConnectToService(
const std::string& service_name,
mojo::ScopedMessagePipeHandle handle) {
- services_->ConnectToService(service_name, handle.Pass());
+ services_->ConnectToService(service_name, std::move(handle));
}
} // namespace content
« no previous file with comments | « content/browser/media/webrtc_internals.cc ('k') | content/browser/mojo/mojo_application_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698