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

Unified Diff: chrome/app/chrome_main_delegate.cc

Issue 24840002: POC: use resources loaded by the zygote (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main_delegate.cc
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
index 08b9e43d26909c4c90d033731b942780a88787b8..e496c69b03195b26627f54a74f0b5744a5599e6a 100644
--- a/chrome/app/chrome_main_delegate.cc
+++ b/chrome/app/chrome_main_delegate.cc
@@ -247,8 +247,12 @@ bool SubprocessNeedsResourceBundle(const std::string& process_type) {
process_type == switches::kPpapiBrokerProcess ||
process_type == switches::kGpuProcess ||
#endif
+#if defined(OS_POSIX) && !defined(OS_MACOSX)
+ false;
+#else
process_type == switches::kRendererProcess ||
process_type == switches::kUtilityProcess;
+#endif
}
#if defined(OS_MACOSX)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698