| Index: components/policy/core/common/policy_schema.cc
|
| diff --git a/components/policy/core/common/policy_schema.cc b/components/policy/core/common/policy_schema.cc
|
| index 8c3145ce43afdd1e79d2c34e5c7dd8ac7e9e5caa..7e9ab7dc31cd1865af5a9d255c7b42ff9423e3bb 100644
|
| --- a/components/policy/core/common/policy_schema.cc
|
| +++ b/components/policy/core/common/policy_schema.cc
|
| @@ -230,14 +230,6 @@ scoped_ptr<PolicySchema> PolicySchema::Parse(const std::string& content,
|
| return scoped_ptr<PolicySchema>();
|
| }
|
|
|
| - // Checks for invalid attributes at the top-level.
|
| - if (dict->HasKey(json_schema_constants::kAdditionalProperties) ||
|
| - dict->HasKey(json_schema_constants::kPatternProperties)) {
|
| - *error = "\"additionalProperties\" and \"patternProperties\" are not "
|
| - "supported at the main schema.";
|
| - return scoped_ptr<PolicySchema>();
|
| - }
|
| -
|
| return ParseSchema(*dict, error);
|
| }
|
|
|
|
|