Index: chrome/common/net/gaia/oauth2_mint_token_fetcher.cc |
diff --git a/chrome/common/net/gaia/oauth2_mint_token_fetcher.cc b/chrome/common/net/gaia/oauth2_mint_token_fetcher.cc |
index 84d2e0ada766dce6e8eae9d62b8f53a63432bc38..e5738724c8df6d2ebd287fc8cccbddbe10d23ade 100644 |
--- a/chrome/common/net/gaia/oauth2_mint_token_fetcher.cc |
+++ b/chrome/common/net/gaia/oauth2_mint_token_fetcher.cc |
@@ -180,8 +180,7 @@ bool OAuth2MintTokenFetcher::ParseMintTokenResponse( |
CHECK(access_token); |
std::string data; |
source->GetResponseAsString(&data); |
- base::JSONReader reader; |
- scoped_ptr<base::Value> value(reader.Read(data, false)); |
+ scoped_ptr<base::Value> value(base::JSONReader::Read(data)); |
if (!value.get() || value->GetType() != base::Value::TYPE_DICTIONARY) |
return false; |