| Index: google_apis/gaia/oauth2_mint_token_flow.cc
|
| diff --git a/google_apis/gaia/oauth2_mint_token_flow.cc b/google_apis/gaia/oauth2_mint_token_flow.cc
|
| index 3a41b8e0284c183aec1a7b8153319897dd422d5c..69c241cef6a24df158d7f12898cc0f495476c88b 100644
|
| --- a/google_apis/gaia/oauth2_mint_token_flow.cc
|
| +++ b/google_apis/gaia/oauth2_mint_token_flow.cc
|
| @@ -72,7 +72,7 @@ static GoogleServiceAuthError CreateAuthError(const net::URLFetcher* source) {
|
|
|
| std::string response_body;
|
| source->GetResponseAsString(&response_body);
|
| - scoped_ptr<base::Value> value = base::JSONReader::Read(response_body);
|
| + std::unique_ptr<base::Value> value = base::JSONReader::Read(response_body);
|
| base::DictionaryValue* response;
|
| if (!value.get() || !value->GetAsDictionary(&response)) {
|
| return GoogleServiceAuthError::FromUnexpectedServiceResponse(
|
| @@ -187,7 +187,7 @@ void OAuth2MintTokenFlow::ProcessApiCallSuccess(
|
| const net::URLFetcher* source) {
|
| std::string response_body;
|
| source->GetResponseAsString(&response_body);
|
| - scoped_ptr<base::Value> value = base::JSONReader::Read(response_body);
|
| + std::unique_ptr<base::Value> value = base::JSONReader::Read(response_body);
|
| base::DictionaryValue* dict = NULL;
|
| if (!value.get() || !value->GetAsDictionary(&dict)) {
|
| ReportFailure(GoogleServiceAuthError::FromUnexpectedServiceResponse(
|
|
|