Index: components/policy/core/browser/configuration_policy_handler_unittest.cc |
diff --git a/components/policy/core/browser/configuration_policy_handler_unittest.cc b/components/policy/core/browser/configuration_policy_handler_unittest.cc |
index 6e9503dc0aa1af80cb33f524307a8fae8c851f6b..67b66049ae9f090344caeeefb58c2d1cad61c856 100644 |
--- a/components/policy/core/browser/configuration_policy_handler_unittest.cc |
+++ b/components/policy/core/browser/configuration_policy_handler_unittest.cc |
@@ -652,9 +652,9 @@ TEST(SchemaValidatingPolicyHandlerTest, CheckAndGetValue) { |
" \"Colors\": \"White\"" |
" }" |
"}"; |
- scoped_ptr<base::Value> policy_map_value( |
- base::JSONReader::DeprecatedReadAndReturnError( |
- kPolicyMapJson, base::JSON_PARSE_RFC, NULL, &error)); |
+ scoped_ptr<base::Value> policy_map_value = |
+ base::JSONReader::ReadAndReturnError(kPolicyMapJson, base::JSON_PARSE_RFC, |
+ NULL, &error); |
ASSERT_TRUE(policy_map_value) << error; |
const base::DictionaryValue* policy_map_dict = NULL; |
@@ -712,9 +712,9 @@ TEST(SimpleSchemaValidatingPolicyHandlerTest, CheckAndGetValue) { |
" \"Colors\": \"Green\"" |
" }" |
"}"; |
- scoped_ptr<base::Value> policy_map_value( |
- base::JSONReader::DeprecatedReadAndReturnError( |
- kPolicyMapJson, base::JSON_PARSE_RFC, NULL, &error)); |
+ scoped_ptr<base::Value> policy_map_value = |
+ base::JSONReader::ReadAndReturnError(kPolicyMapJson, base::JSON_PARSE_RFC, |
+ NULL, &error); |
ASSERT_TRUE(policy_map_value) << error; |
const base::DictionaryValue* policy_map_dict = NULL; |