| Index: chrome/common/net/gaia/gaia_auth_fetcher.cc
|
| diff --git a/chrome/common/net/gaia/gaia_auth_fetcher.cc b/chrome/common/net/gaia/gaia_auth_fetcher.cc
|
| index 002c0a6b29aaec00549c70ad7a64aa5e86e9d2d2..cb759ad50532d6a0f13b63d52a6698b68a82412f 100644
|
| --- a/chrome/common/net/gaia/gaia_auth_fetcher.cc
|
| +++ b/chrome/common/net/gaia/gaia_auth_fetcher.cc
|
| @@ -407,8 +407,7 @@ bool GaiaAuthFetcher::ParseOAuth2TokenPairResponse(const std::string& data,
|
| int* expires_in_secs) {
|
| DCHECK(refresh_token);
|
| DCHECK(access_token);
|
| - 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;
|
|
|
|
|