summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_browser_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chrome_browser_main.cc')
-rw-r--r--chrome/browser/chrome_browser_main.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index d7f2f648..4df00b0 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -680,10 +680,8 @@ void ChromeBrowserMainParts::SetupMetricsAndFieldTrials() {
if (variations_service)
variations_service->CreateTrialsFromSeed();
- const int64 install_date = local_state_->GetInt64(prefs::kInstallDate);
- // This must be called after the pref is initialized.
- DCHECK(install_date);
- browser_field_trials_.SetupFieldTrials(base::Time::FromTimeT(install_date));
+ // This must be called after the local state is initialized.
+ browser_field_trials_.SetupFieldTrials(local_state_);
SetupPlatformFieldTrials();