Index: components/policy/tools/generate_policy_source.py |
diff --git a/components/policy/tools/generate_policy_source.py b/components/policy/tools/generate_policy_source.py |
index 62a37fbf5c798a5fa84d3bd7068db2027e196df7..105a8606721ccff5ebf6f72953f29619ba1a0966 100755 |
--- a/components/policy/tools/generate_policy_source.py |
+++ b/components/policy/tools/generate_policy_source.py |
@@ -930,8 +930,8 @@ base::ListValue* DecodeStringList(const em::StringList& string_list) { |
} |
base::Value* DecodeJson(const std::string& json) { |
- scoped_ptr<base::Value> root( |
- base::JSONReader::DeprecatedRead(json, base::JSON_ALLOW_TRAILING_COMMAS)); |
+ scoped_ptr<base::Value> root = |
+ base::JSONReader::Read(json, base::JSON_ALLOW_TRAILING_COMMAS); |
if (!root) |
LOG(WARNING) << "Invalid JSON string, ignoring: " << json; |