Index: chrome/browser/sync/startup_controller_unittest.cc |
diff --git a/chrome/browser/sync/startup_controller_unittest.cc b/chrome/browser/sync/startup_controller_unittest.cc |
index 334333f9a0389f20d39748bea4956e3bea955384..663b003b1cdfa29f01fd0e84e0d50ac5bcd7aa89 100644 |
--- a/chrome/browser/sync/startup_controller_unittest.cc |
+++ b/chrome/browser/sync/startup_controller_unittest.cc |
@@ -55,7 +55,7 @@ class StartupControllerTest : public testing::Test { |
profile_.reset(new TestingProfile()); |
sync_prefs_.reset(new sync_driver::SyncPrefs(profile_->GetPrefs())); |
token_service_.reset(static_cast<FakeProfileOAuth2TokenService*>( |
- BuildFakeProfileOAuth2TokenService(profile_.get()))); |
+ BuildFakeProfileOAuth2TokenService(profile_.get()).release())); |
signin_.reset(new FakeSupervisedUserSigninManagerWrapper()); |
ProfileSyncServiceStartBehavior behavior = |