Index: chrome/common/net/gaia/oauth2_mint_token_flow.cc |
diff --git a/chrome/common/net/gaia/oauth2_mint_token_flow.cc b/chrome/common/net/gaia/oauth2_mint_token_flow.cc |
index 0232b92d379ce8fb4fc830e9b2502123eb0dc644..e2010e8b9ec295ca34b02109faa771d2eb4fc661 100644 |
--- a/chrome/common/net/gaia/oauth2_mint_token_flow.cc |
+++ b/chrome/common/net/gaia/oauth2_mint_token_flow.cc |
@@ -184,8 +184,7 @@ void OAuth2MintTokenFlow::ProcessApiCallSuccess( |
// internal error. |
std::string response_body; |
source->GetResponseAsString(&response_body); |
- base::JSONReader reader; |
- scoped_ptr<base::Value> value(reader.Read(response_body, false)); |
+ scoped_ptr<base::Value> value(base::JSONReader::Read(response_body)); |
DictionaryValue* dict = NULL; |
if (!value.get() || !value->GetAsDictionary(&dict)) { |
ReportFailure(GoogleServiceAuthError::FromConnectionError(101)); |