Index: components/policy/core/common/cloud/cloud_policy_validator_unittest.cc |
diff --git a/components/policy/core/common/cloud/cloud_policy_validator_unittest.cc b/components/policy/core/common/cloud/cloud_policy_validator_unittest.cc |
index 28a3d21f27717382b248be779575b279ec1667e7..77078cfd89be445ba325522f350e6d6ac9f44e73 100644 |
--- a/components/policy/core/common/cloud/cloud_policy_validator_unittest.cc |
+++ b/components/policy/core/common/cloud/cloud_policy_validator_unittest.cc |
@@ -162,7 +162,7 @@ TEST_F(CloudPolicyValidatorTest, SuccessfulRunValidationWithNoDMTokens) { |
TEST_F(CloudPolicyValidatorTest, UsernameCanonicalization) { |
policy_.policy_data().set_username( |
- base::StringToUpperASCII(std::string(PolicyBuilder::kFakeUsername))); |
+ base::ToUpperASCII(PolicyBuilder::kFakeUsername)); |
Validate(CheckStatus(CloudPolicyValidatorBase::VALIDATION_OK)); |
} |