Index: components/history/core/browser/web_history_service.cc |
diff --git a/components/history/core/browser/web_history_service.cc b/components/history/core/browser/web_history_service.cc |
index c36f9fd29ad7f8d9f243a1d3c4f49141709ee48d..7a4e0ede3d2c7460afd4ee780063149988255f65 100644 |
--- a/components/history/core/browser/web_history_service.cc |
+++ b/components/history/core/browser/web_history_service.cc |
@@ -111,9 +111,8 @@ class RequestImpl : public WebHistoryService::Request, |
if (response_code_ == net::HTTP_UNAUTHORIZED && ++auth_retry_count_ <= 1) { |
OAuth2TokenService::ScopeSet oauth_scopes; |
oauth_scopes.insert(kHistoryOAuthScope); |
- token_service_->InvalidateToken( |
- signin_manager_->GetAuthenticatedAccountId(), |
- oauth_scopes, |
+ token_service_->InvalidateAccessToken( |
+ signin_manager_->GetAuthenticatedAccountId(), oauth_scopes, |
access_token_); |
access_token_.clear(); |