Index: chrome/browser/browser_main.cc |
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc |
index 0819289a032c8b84e8c8c4134cd74e529e951512..1420d795d0b7cb3645a5682cbe5872c813b77886 100644 |
--- a/chrome/browser/browser_main.cc |
+++ b/chrome/browser/browser_main.cc |
@@ -1452,6 +1452,10 @@ int BrowserMain(const MainFunctionParams& parameters) { |
} |
#endif |
+ // The system request context can only be initialized once the |
+ // PrefService has been initialized. |
brettw
2011/02/11 17:42:34
Why do you need to add this to browser main? Norma
battre
2011/02/14 18:22:05
It is important that the initialization is started
|
+ browser_process->InitSystemRequestContext(); |
+ |
#if defined(OS_WIN) |
// Do the tasks if chrome has been upgraded while it was last running. |
if (!already_running && Upgrade::DoUpgradeTasks(parsed_command_line)) |