Index: components/policy/core/common/schema.cc |
diff --git a/components/policy/core/common/schema.cc b/components/policy/core/common/schema.cc |
index 44931707d2266e24af91ce2e1b902a0d5ea31375..18fa9a76cfe70a3fc5f2972dcc89b3df81574cd5 100644 |
--- a/components/policy/core/common/schema.cc |
+++ b/components/policy/core/common/schema.cc |
@@ -76,7 +76,7 @@ bool SchemaTypeToValueType(const std::string& type_string, |
{ schema::kObject, base::Value::TYPE_DICTIONARY }, |
{ schema::kString, base::Value::TYPE_STRING }, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kSchemaToValueTypeMap); ++i) { |
+ for (size_t i = 0; i < arraysize(kSchemaToValueTypeMap); ++i) { |
if (kSchemaToValueTypeMap[i].schema_type == type_string) { |
*type = kSchemaToValueTypeMap[i].value_type; |
return true; |