summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/browser_main.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index dd4463f..06ad5f5 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -1386,6 +1386,10 @@ int BrowserMain(const MainFunctionParams& parameters) {
if (!parsed_command_line.HasSwitch(switches::kNoErrorDialogs))
WarnAboutMinimumSystemRequirements();
+ // Convert active labs into switches. Modifies the current command line.
+ about_flags::ConvertFlagsToSwitches(local_state,
+ CommandLine::ForCurrentProcess());
+
InitializeNetworkOptions(parsed_command_line);
// Initialize histogram synchronizer system. This is a singleton and is used
@@ -1400,10 +1404,6 @@ int BrowserMain(const MainFunctionParams& parameters) {
// watched.
scoped_ptr<ThreadWatcherList> thread_watcher_list(new ThreadWatcherList());
- // Convert active labs into switches. Modifies the current command line.
- about_flags::ConvertFlagsToSwitches(local_state,
- CommandLine::ForCurrentProcess());
-
// Now the command line has been mutated based on about:flags, we can
// set up metrics and initialize field trials.
MetricsService* metrics = parts->SetupMetricsAndFieldTrials(