Index: components/policy/core/common/cloud/cloud_policy_validator.cc |
diff --git a/components/policy/core/common/cloud/cloud_policy_validator.cc b/components/policy/core/common/cloud/cloud_policy_validator.cc |
index 96169eb4feeb31ae5db2ee24b661bb86449115fa..f7c32a1f0b5ebe8e4ab98fe3f2142683cd24509b 100644 |
--- a/components/policy/core/common/cloud/cloud_policy_validator.cc |
+++ b/components/policy/core/common/cloud/cloud_policy_validator.cc |
@@ -253,7 +253,7 @@ void CloudPolicyValidatorBase::RunChecks() { |
{ VALIDATE_PAYLOAD, &CloudPolicyValidatorBase::CheckPayload }, |
}; |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kCheckFunctions); ++i) { |
+ for (size_t i = 0; i < arraysize(kCheckFunctions); ++i) { |
if (validation_flags_ & kCheckFunctions[i].flag) { |
status_ = (this->*(kCheckFunctions[i].checkFunction))(); |
if (status_ != VALIDATION_OK) |