| Index: chrome/browser/extensions/app_notify_channel_setup_unittest.cc
|
| diff --git a/chrome/browser/extensions/app_notify_channel_setup_unittest.cc b/chrome/browser/extensions/app_notify_channel_setup_unittest.cc
|
| index bd5966301ac73ed74ee6e2179ec5fbe8235084af..730c2c1f45628a7bbb77e036085b3b85a8733f67 100644
|
| --- a/chrome/browser/extensions/app_notify_channel_setup_unittest.cc
|
| +++ b/chrome/browser/extensions/app_notify_channel_setup_unittest.cc
|
| @@ -182,9 +182,7 @@ class AppNotifyChannelSetupTest : public testing::Test {
|
| virtual ~AppNotifyChannelSetupTest() {}
|
|
|
| virtual void SetLoggedInUser(const std::string username) {
|
| - TestingPrefService* prefs = profile_.GetTestingPrefService();
|
| - prefs->SetUserPref(prefs::kGoogleServicesUsername,
|
| - new StringValue(username));
|
| + profile_.GetPrefs()->SetString(prefs::kGoogleServicesUsername, username);
|
| }
|
|
|
| virtual AppNotifyChannelSetup* CreateInstance() {
|
|
|