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 4b90897c225bdbe7a0c968f8dbc0ab25815af527..0539acc212bc5dcee3ad535f239acc9b35705254 100644 |
--- a/chrome/browser/services/gcm/gcm_profile_service.cc |
+++ b/chrome/browser/services/gcm/gcm_profile_service.cc |
@@ -111,6 +111,8 @@ void GCMProfileService::IdentityObserver::OnActiveAccountLogin() { |
} |
void GCMProfileService::IdentityObserver::OnActiveAccountLogout() { |
+ account_id_.clear(); |
+ |
// Check is necessary to not crash browser_tests. |
if (gcm_account_tracker_) |
gcm_account_tracker_->Stop(); |