Index: chrome/app/chrome_dll_main.cc |
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc |
index ca73937f07f520387545cc5ccbc3209b8d7c42f7..18ee2fd52b41862b926f993f2aaee79afe3df526 100644 |
--- a/chrome/app/chrome_dll_main.cc |
+++ b/chrome/app/chrome_dll_main.cc |
@@ -926,8 +926,10 @@ int ChromeMain(int argc, char** argv) { |
ZygoteHost* zhost = Singleton<ZygoteHost>::get(); |
zhost->Init(sandbox_cmd); |
+#if defined(USE_NSS) |
// We want to be sure to init NSPR on the main thread. |
base::EnsureNSPRInit(); |
+#endif |
g_thread_init(NULL); |
// Glib type system initialization. Needed at least for gconf, |