Index: chrome/browser/sync/profile_sync_service_startup_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_startup_unittest.cc b/chrome/browser/sync/profile_sync_service_startup_unittest.cc |
index a9d79443a4ffb9f475a252dc2a0f60ce025893e8..f49354d2352e24e76c8c9d6665137a6569ad5acb 100644 |
--- a/chrome/browser/sync/profile_sync_service_startup_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_startup_unittest.cc |
@@ -203,7 +203,10 @@ TEST_F(ProfileSyncServiceStartupBootstrapTest, SKIP_MACOSX(StartFirstTime)) { |
GaiaAuthConsumer::ClientLoginResult result; |
result.sid = "sid"; |
result.lsid = "lsid"; |
- profile_.GetTokenService()->SetClientLoginResult(result); |
+ profile_.GetTokenService()->Initialize("test", |
+ profile_.GetRequestContext(), |
+ result); |
+ |
// Will start sync even though setup hasn't been completed (since |
// setup is bypassed when bootstrapping is enabled). |
service_->Initialize(); |