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

Unified Diff: chrome/app/chrome_main.cc

Issue 7777004: Initialize the resource bundle now that it is used due to http://trac.webkit.org/changeset/93879. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: v3 Created 9 years, 4 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 | content/browser/worker_host/worker_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main.cc
diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc
index 9c680df50e315c6f3cee34189f2c1af150f6b42b..ae0b9af9f6c3bf1841a1ef5fb2af6e9afc34d539 100644
--- a/chrome/app/chrome_main.cc
+++ b/chrome/app/chrome_main.cc
@@ -323,6 +323,10 @@ bool SubprocessNeedsResourceBundle(const std::string& process_type) {
// The zygote process opens the resources for the renderers.
process_type == switches::kZygoteProcess ||
#endif
+#if defined(OS_MACOSX)
+ // Mac needs them to for scrollbar related images.
+ process_type == switches::kWorkerProcess ||
+#endif
process_type == switches::kRendererProcess ||
process_type == switches::kExtensionProcess ||
process_type == switches::kUtilityProcess;
« no previous file with comments | « no previous file | content/browser/worker_host/worker_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698