Index: chrome/app/chrome_main.cc |
diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc |
index b13944cf0bb8ed9c518a55e64b35e46ae971c94e..1397cf9b2229d57a8af4d1bafb1d7a3f6d4e5dfb 100644 |
--- a/chrome/app/chrome_main.cc |
+++ b/chrome/app/chrome_main.cc |
@@ -13,6 +13,7 @@ |
#include "base/message_loop.h" |
#include "base/metrics/stats_counters.h" |
#include "base/metrics/stats_table.h" |
+#include "base/nss_util.h" |
#include "base/path_service.h" |
#include "base/process_util.h" |
#include "base/string_number_conversions.h" |
@@ -710,6 +711,10 @@ int ChromeMain(int argc, char** argv) { |
} |
SetupCRT(command_line); |
+#if defined(USE_NSS) |
+ base::EarlySetupForNSSInit(); |
+#endif |
+ |
// Initialize the Chrome path provider. |
app::RegisterPathProvider(); |
chrome::RegisterPathProvider(); |