summaryrefslogtreecommitdiffstats
path: root/extensions/browser/updater
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/browser/updater')
-rw-r--r--extensions/browser/updater/extension_downloader.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/browser/updater/extension_downloader.cc b/extensions/browser/updater/extension_downloader.cc
index a796149..a038ebb 100644
--- a/extensions/browser/updater/extension_downloader.cc
+++ b/extensions/browser/updater/extension_downloader.cc
@@ -915,9 +915,8 @@ bool ExtensionDownloader::IterateFetchCredentialsAfterFailure(
DCHECK(identity_provider_.get());
OAuth2TokenService::ScopeSet webstore_scopes;
webstore_scopes.insert(kWebstoreOAuth2Scope);
- identity_provider_->GetTokenService()->InvalidateToken(
- identity_provider_->GetActiveAccountId(),
- webstore_scopes,
+ identity_provider_->GetTokenService()->InvalidateAccessToken(
+ identity_provider_->GetActiveAccountId(), webstore_scopes,
access_token_);
access_token_.clear();
return true;