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

Unified Diff: content/zygote/zygote_main_linux.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/zygote/zygote_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/zygote/zygote_main_linux.cc
diff --git a/content/zygote/zygote_main_linux.cc b/content/zygote/zygote_main_linux.cc
index 6ebe60d6001d5b9c74efff7a374c42fefa3a869c..1f8adc11c7991035caaedb2bd87f9e6bcb11155e 100644
--- a/content/zygote/zygote_main_linux.cc
+++ b/content/zygote/zygote_main_linux.cc
@@ -15,7 +15,7 @@
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
-
+#include <utility>
#include <vector>
#include "base/bind.h"
@@ -609,7 +609,7 @@ bool ZygoteMain(const MainFunctionParams& params,
const bool namespace_sandbox_engaged = sandbox_flags & kSandboxLinuxUserNS;
CHECK_EQ(using_namespace_sandbox, namespace_sandbox_engaged);
- Zygote zygote(sandbox_flags, fork_delegates.Pass(), extra_children,
+ Zygote zygote(sandbox_flags, std::move(fork_delegates), extra_children,
extra_fds);
// This function call can return multiple times, once per fork().
return zygote.ProcessRequests();
« no previous file with comments | « content/zygote/zygote_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698