| Index: components/policy/core/common/schema_map.cc
|
| diff --git a/components/policy/core/common/schema_map.cc b/components/policy/core/common/schema_map.cc
|
| index 8485b41589e4008114a631acdaef31c708e67377..0cc83369b804be59e3f5aa335a7fca8d4dde0519 100644
|
| --- a/components/policy/core/common/schema_map.cc
|
| +++ b/components/policy/core/common/schema_map.cc
|
| @@ -70,10 +70,10 @@ void SchemaMap::FilterBundle(PolicyBundle* bundle) const {
|
| PolicyMap* map = it->second;
|
| for (PolicyMap::const_iterator it_map = map->begin();
|
| it_map != map->end();) {
|
| - const std::string& policy_name = it_map->first;
|
| + const std::string& policy_name = it_map->first.name;
|
| const base::Value* policy_value = it_map->second.value;
|
| Schema policy_schema = schema->GetProperty(policy_name);
|
| - ++it_map;
|
| + map->next_dominant(&it_map);
|
| std::string error_path;
|
| std::string error;
|
| if (!policy_value ||
|
|
|