Index: tools/gn/ninja_script_target_writer.cc |
diff --git a/tools/gn/ninja_script_target_writer.cc b/tools/gn/ninja_script_target_writer.cc |
index 97f25525689503d861ae2308e807546b26a8dfd7..f2004e3303e7c22a07114591d1170597daac6911 100644 |
--- a/tools/gn/ninja_script_target_writer.cc |
+++ b/tools/gn/ninja_script_target_writer.cc |
@@ -72,7 +72,7 @@ std::string NinjaScriptTargetWriter::WriteRuleDefinition( |
// there will be only one invocation so we can use a simple name. |
std::string target_label = target_->label().GetUserVisibleName(true); |
std::string custom_rule_name(target_label); |
- ReplaceChars(custom_rule_name, ":/()", "_", &custom_rule_name); |
+ base::ReplaceChars(custom_rule_name, ":/()", "_", &custom_rule_name); |
custom_rule_name.append("_rule"); |
if (settings_->IsWin()) { |