Index: chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc |
diff --git a/chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc b/chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc |
index 10c145c3ed3cc9316972155eb0fadacdada69033..b501d28fc36e5c4c7e1f0e3f102bd3ca7bbca5c8 100644 |
--- a/chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc |
+++ b/chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc |
@@ -167,8 +167,7 @@ class OAuth2MintTokenFlowTest : public testing::Test { |
// Helper to parse the given string to DictionaryValue. |
static base::DictionaryValue* ParseJson(const std::string& str) { |
- base::JSONReader reader; |
- scoped_ptr<Value> value(reader.Read(str, false)); |
+ scoped_ptr<Value> value(base::JSONReader::Read(str)); |
EXPECT_TRUE(value.get()); |
EXPECT_EQ(Value::TYPE_DICTIONARY, value->GetType()); |
return static_cast<base::DictionaryValue*>(value.release()); |