Index: chrome/common/net/gaia/oauth2_access_token_fetcher.cc |
diff --git a/chrome/common/net/gaia/oauth2_access_token_fetcher.cc b/chrome/common/net/gaia/oauth2_access_token_fetcher.cc |
index 4960a14ff00a2857c5992c1d54739da5dae12770..7543a53edb3a874aa96d73ba2527e016e17b2c5e 100644 |
--- a/chrome/common/net/gaia/oauth2_access_token_fetcher.cc |
+++ b/chrome/common/net/gaia/oauth2_access_token_fetcher.cc |
@@ -152,7 +152,8 @@ void OAuth2AccessTokenFetcher::OnGetTokenSuccess( |
consumer_->OnGetTokenSuccess(access_token); |
} |
-void OAuth2AccessTokenFetcher::OnGetTokenFailure(GoogleServiceAuthError error) { |
+void OAuth2AccessTokenFetcher::OnGetTokenFailure( |
+ const GoogleServiceAuthError& error) { |
state_ = ERROR_STATE; |
consumer_->OnGetTokenFailure(error); |
} |