Index: chrome/browser/net/gaia/gaia_oauth_fetcher.cc |
diff --git a/chrome/browser/net/gaia/gaia_oauth_fetcher.cc b/chrome/browser/net/gaia/gaia_oauth_fetcher.cc |
index 4ee520b350ecdf3a358403c9beb6f8726561f9db..2d126970ee537354043fbc5fe1a4da9db82f9277 100644 |
--- a/chrome/browser/net/gaia/gaia_oauth_fetcher.cc |
+++ b/chrome/browser/net/gaia/gaia_oauth_fetcher.cc |
@@ -264,8 +264,7 @@ void GaiaOAuthFetcher::ParseOAuthWrapBridgeResponse(const std::string& data, |
// static |
void GaiaOAuthFetcher::ParseUserInfoResponse(const std::string& data, |
std::string* email_result) { |
- base::JSONReader reader; |
- scoped_ptr<base::Value> value(reader.Read(data, false)); |
+ scoped_ptr<base::Value> value(base::JSONReader::Read(data)); |
if (value->GetType() == base::Value::TYPE_DICTIONARY) { |
Value* email_value; |
DictionaryValue* dict = static_cast<DictionaryValue*>(value.get()); |