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 2523ba888041452d7599601957869113a07ec852..43db4a7324e0f7d2751edcf609c9850217246519 100644 |
--- a/chrome/common/net/gaia/oauth2_access_token_fetcher.cc |
+++ b/chrome/common/net/gaia/oauth2_access_token_fetcher.cc |
@@ -205,8 +205,7 @@ bool OAuth2AccessTokenFetcher::ParseGetAccessTokenResponse( |
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; |