| Index: chrome_frame/chrome_frame_automation.cc
|
| diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc
|
| index b4d302300e173ac3eac986f366b014c1a89ed6b6..9b0a08357b3159b4969dbe9059286565d4cdb7ad 100644
|
| --- a/chrome_frame/chrome_frame_automation.cc
|
| +++ b/chrome_frame/chrome_frame_automation.cc
|
| @@ -1034,8 +1034,9 @@ void ChromeFrameAutomationClient::InitializeFieldTrials() {
|
| if (!trial) {
|
| // Do one-time initialization of the field trial here.
|
| // TODO(robertshield): End the field trial before March 7th 2013.
|
| - scoped_refptr<base::FieldTrial> new_trial = new base::FieldTrial(
|
| - "ChromeShutdownDelay", 1000, kWithDelayFieldTrialName, 2013, 3, 7);
|
| + scoped_refptr<base::FieldTrial> new_trial =
|
| + base::FieldTrial::CreateInstance("ChromeShutdownDelay", 1000,
|
| + kWithDelayFieldTrialName, 2013, 3, 7);
|
|
|
| // Be consistent for this client. Note that this will only have an effect
|
| // once the client id is persisted. See http://crbug.com/117188
|
|
|