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

Unified Diff: content/zygote/zygote_linux.cc

Issue 831373002: Move ForkWithFlags from sandbox/ to base/ and plug it into LaunchProcess. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to comments. Created 5 years, 11 months 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 | « base/process/process_util_unittest.cc ('k') | sandbox/linux/services/syscall_wrappers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/zygote/zygote_linux.cc
diff --git a/content/zygote/zygote_linux.cc b/content/zygote/zygote_linux.cc
index e9b940e88a76e451384742a46637d51abf0e013e..f0452be07b240b97b94f544f731869d1a77900d7 100644
--- a/content/zygote/zygote_linux.cc
+++ b/content/zygote/zygote_linux.cc
@@ -374,7 +374,7 @@ int Zygote::ForkWithRealPid(const std::string& process_type,
CreatePipe(&read_pipe, &write_pipe);
// This is roughly equivalent to a fork(). We are using ForkWithFlags mainly
// to give it some more diverse test coverage.
- pid = sandbox::ForkWithFlags(SIGCHLD, nullptr, nullptr);
+ pid = base::ForkWithFlags(SIGCHLD, nullptr, nullptr);
}
if (pid == 0) {
« no previous file with comments | « base/process/process_util_unittest.cc ('k') | sandbox/linux/services/syscall_wrappers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698