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

Unified Diff: chrome/browser/ui/webui/ntp/new_tab_ui.cc

Issue 9705074: Supporting command line argument to force field trials (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed some ooopss... Created 8 years, 8 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 | « chrome/browser/prerender/prerender_field_trial.cc ('k') | chrome_frame/chrome_frame_automation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/new_tab_ui.cc
diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.cc b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
index b4d66831e381592d2eb271c856f32758c16d15e9..209fd3ea25cd15779c77300cc20ae52b30ea8c97 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_ui.cc
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
@@ -275,8 +275,8 @@ void NewTabUI::RegisterUserPrefs(PrefService* prefs) {
// static
void NewTabUI::SetupFieldTrials() {
scoped_refptr<base::FieldTrial> trial(
- new base::FieldTrial(kWebStoreLinkExperiment, 3, "Disabled",
- 2012, 6, 1));
+ base::FieldTrialList::FactoryGetFieldTrial(
+ kWebStoreLinkExperiment, 3, "Disabled", 2012, 6, 1, NULL));
// Try to give the user a consistent experience, if possible.
if (base::FieldTrialList::IsOneTimeRandomizationEnabled())
« no previous file with comments | « chrome/browser/prerender/prerender_field_trial.cc ('k') | chrome_frame/chrome_frame_automation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698