| Index: chrome/browser/chromeos/login/wizard_controller_browsertest.cc
|
| diff --git a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
|
| index 23e68ca2db6370c00d1d1ed6b1f0081df00a14c5..8401a1ecaf8e8944838b67ee939c3375a35c70da 100644
|
| --- a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
|
| +++ b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
|
| @@ -418,10 +418,9 @@ class WizardControllerBrokenLocalStateTest : public WizardControllerTest {
|
| }
|
|
|
| virtual void SetUpOnMainThread() OVERRIDE {
|
| - PrefServiceBuilder builder;
|
| - local_state_.reset(builder
|
| - .WithUserPrefs(new PrefStoreStub())
|
| - .Create(new PrefRegistrySimple()));
|
| + base::PrefServiceBuilder builder;
|
| + builder.set_user_prefs(make_scoped_refptr(new PrefStoreStub()));
|
| + local_state_ = builder.Create(new PrefRegistrySimple()).Pass();
|
| WizardController::set_local_state_for_testing(local_state_.get());
|
|
|
| WizardControllerTest::SetUpOnMainThread();
|
|
|