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

Unified Diff: content/utility/utility_thread_impl.cc

Issue 1544293002: Convert Pass()→std::move() in //content (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/test/test_navigation_url_loader_factory.cc ('k') | content/zygote/zygote_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/utility/utility_thread_impl.cc
diff --git a/content/utility/utility_thread_impl.cc b/content/utility/utility_thread_impl.cc
index 2b6e2b7c71c1a2dafeeae57e3d1d8cdc549b0673..b6587f58aa6cf9f5e22fe9c4d1bcccef15b8b612 100644
--- a/content/utility/utility_thread_impl.cc
+++ b/content/utility/utility_thread_impl.cc
@@ -5,6 +5,7 @@
#include "content/utility/utility_thread_impl.h"
#include <stddef.h>
+#include <utility>
#include "base/command_line.h"
#include "build/build_config.h"
@@ -149,7 +150,8 @@ void UtilityThreadImpl::OnLoadPlugins(
void UtilityThreadImpl::BindProcessControlRequest(
mojo::InterfaceRequest<ProcessControl> request) {
DCHECK(process_control_);
- process_control_bindings_.AddBinding(process_control_.get(), request.Pass());
+ process_control_bindings_.AddBinding(process_control_.get(),
+ std::move(request));
}
} // namespace content
« no previous file with comments | « content/test/test_navigation_url_loader_factory.cc ('k') | content/zygote/zygote_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698