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

Unified Diff: content/browser/zygote_host/zygote_handle_linux.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 | « content/browser/utility_process_host_impl.cc ('k') | content/public/browser/zygote_handle_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/zygote_host/zygote_handle_linux.cc
diff --git a/content/browser/zygote_host/zygote_handle_linux.cc b/content/browser/zygote_host/zygote_handle_linux.cc
index 89adc49385b4364803f4cd14fc64a4e7fbfa25d6..55830f57487209651585838f1271d8b4ceb4efb9 100644
--- a/content/browser/zygote_host/zygote_handle_linux.cc
+++ b/content/browser/zygote_host/zygote_handle_linux.cc
@@ -14,4 +14,9 @@ ZygoteHandle CreateZygote() {
return zygote;
}
+ZygoteHandle* GetGenericZygote() {
+ static ZygoteHandle zygote;
+ return &zygote;
+}
+
} // namespace content
« no previous file with comments | « content/browser/utility_process_host_impl.cc ('k') | content/public/browser/zygote_handle_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698