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

Unified Diff: components/nacl/browser/nacl_process_host.cc

Issue 1643533006: Use a single, generic, global zygote to temporarily resolve perf regressions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused ppapi header Created 4 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 | « chrome/browser/chrome_browser_main.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/browser/nacl_process_host.cc
diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc
index 3b57e145015f46abe09ffc6803fde16b7b271721..01fed51c21a787607c46095964053e8df3fbad84 100644
--- a/components/nacl/browser/nacl_process_host.cc
+++ b/components/nacl/browser/nacl_process_host.cc
@@ -186,7 +186,9 @@ class NaClSandboxedProcessLauncherDelegate
}
#elif defined(OS_POSIX)
#if !defined(OS_MACOSX)
- content::ZygoteHandle* GetZygote() override { return &g_nacl_zygote; }
+ content::ZygoteHandle* GetZygote() override {
+ return content::GetGenericZygote();
+ }
#endif // !defined(OS_MACOSX)
base::ScopedFD TakeIpcFd() override { return std::move(ipc_fd_); }
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698