Index: components/json_schema/json_schema_validator.cc |
diff --git a/components/json_schema/json_schema_validator.cc b/components/json_schema/json_schema_validator.cc |
index 34ed95eaad98b479c017aff30617a2a4033125ee..00a214410446a42ba9c1b774c595fb276cea0c2b 100644 |
--- a/components/json_schema/json_schema_validator.cc |
+++ b/components/json_schema/json_schema_validator.cc |
@@ -372,7 +372,7 @@ std::string JSONSchemaValidator::GetJSONSchemaType(const base::Value* value) { |
std::string JSONSchemaValidator::FormatErrorMessage(const std::string& format, |
const std::string& s1) { |
std::string ret_val = format; |
- ReplaceFirstSubstringAfterOffset(&ret_val, 0, "*", s1); |
+ base::ReplaceFirstSubstringAfterOffset(&ret_val, 0, "*", s1); |
return ret_val; |
} |
@@ -381,8 +381,8 @@ std::string JSONSchemaValidator::FormatErrorMessage(const std::string& format, |
const std::string& s1, |
const std::string& s2) { |
std::string ret_val = format; |
- ReplaceFirstSubstringAfterOffset(&ret_val, 0, "*", s1); |
- ReplaceFirstSubstringAfterOffset(&ret_val, 0, "*", s2); |
+ base::ReplaceFirstSubstringAfterOffset(&ret_val, 0, "*", s1); |
+ base::ReplaceFirstSubstringAfterOffset(&ret_val, 0, "*", s2); |
return ret_val; |
} |