Index: chrome/browser/services/gcm/gcm_profile_service.cc |
diff --git a/chrome/browser/services/gcm/gcm_profile_service.cc b/chrome/browser/services/gcm/gcm_profile_service.cc |
index bd6ede560a964757f5df296959b44dc7040a55d2..7067a8df6f54347b5779e7c886915f265b0e0768 100644 |
--- a/chrome/browser/services/gcm/gcm_profile_service.cc |
+++ b/chrome/browser/services/gcm/gcm_profile_service.cc |
@@ -111,7 +111,6 @@ void GCMProfileService::IdentityObserver::OnActiveAccountLogout() { |
std::string GCMProfileService::IdentityObserver::SignedInUserName() const { |
return driver_->IsStarted() ? account_id_ : std::string(); |
} |
- |
void GCMProfileService::IdentityObserver::StartAccountTracker() { |
if (gcm_account_tracker_) |
return; |
@@ -120,8 +119,8 @@ void GCMProfileService::IdentityObserver::StartAccountTracker() { |
new gaia::AccountTracker(identity_provider_.get(), |
profile_->GetRequestContext())); |
- gcm_account_tracker_.reset( |
- new GCMAccountTracker(gaia_account_tracker.Pass(), driver_)); |
+ gcm_account_tracker_.reset(new GCMAccountTracker( |
+ gaia_account_tracker.Pass(), driver_, profile_->GetPrefs())); |
gcm_account_tracker_->Start(); |
} |