Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6054)

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2024683002: Remove debug instrumentation for crbug.com/359406. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update render_messages macro Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/metrics/field_trial.cc ('k') | chrome/browser/metrics/field_trial_synchronizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 53c56752cd93c1807246b1e15456595bd47e8cf4..c496ffe34032dc98f91d26d70326ab24f6248eb8 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -671,10 +671,8 @@ void ChromeBrowserMainParts::SetupMetricsAndFieldTrials() {
// Initialize FieldTrialList to support FieldTrials that use one-time
// randomization.
metrics::MetricsService* metrics = browser_process_->metrics_service();
- // TODO(asvitkine): Turn into a DCHECK after http://crbug.com/359406 is fixed.
- CHECK(!field_trial_list_);
- // TODO(asvitkine): Remove this after http://crbug.com/359406 is fixed.
- base::FieldTrialList::EnableGlobalStateChecks();
+
+ DCHECK(!field_trial_list_);
field_trial_list_.reset(
new base::FieldTrialList(metrics->CreateEntropyProvider().release()));
« no previous file with comments | « base/metrics/field_trial.cc ('k') | chrome/browser/metrics/field_trial_synchronizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698