| Index: components/browser_sync/browser/profile_sync_service.cc
|
| diff --git a/components/browser_sync/browser/profile_sync_service.cc b/components/browser_sync/browser/profile_sync_service.cc
|
| index f24df73a3587d31b1fa39bfd0641858035982980..b05c2bedc380de4f2d3224a8143f3805e7c41402 100644
|
| --- a/components/browser_sync/browser/profile_sync_service.cc
|
| +++ b/components/browser_sync/browser/profile_sync_service.cc
|
| @@ -689,7 +689,7 @@ void ProfileSyncService::OnGetTokenSuccess(
|
| const OAuth2TokenService::Request* request,
|
| const std::string& access_token,
|
| const base::Time& expiration_time) {
|
| - DCHECK_EQ(access_token_request_, request);
|
| + DCHECK_EQ(access_token_request_.get(), request);
|
| access_token_request_.reset();
|
| access_token_ = access_token;
|
| token_receive_time_ = base::Time::Now();
|
| @@ -711,7 +711,7 @@ void ProfileSyncService::OnGetTokenSuccess(
|
| void ProfileSyncService::OnGetTokenFailure(
|
| const OAuth2TokenService::Request* request,
|
| const GoogleServiceAuthError& error) {
|
| - DCHECK_EQ(access_token_request_, request);
|
| + DCHECK_EQ(access_token_request_.get(), request);
|
| DCHECK_NE(error.state(), GoogleServiceAuthError::NONE);
|
| access_token_request_.reset();
|
| last_get_token_error_ = error;
|
|
|