Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: tools/gn/target.cc

Issue 1172183002: Move StartsWith[ASCII] to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util3
Patch Set: merger Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/input_conversion.cc ('k') | ui/base/ime/chromeos/component_extension_ime_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/target.cc
diff --git a/tools/gn/target.cc b/tools/gn/target.cc
index 2ea285943248ffdef6ddabf0044738351d791d5b..0b189e63b4850690187cab57ce3458a5e34e7537 100644
--- a/tools/gn/target.cc
+++ b/tools/gn/target.cc
@@ -217,7 +217,7 @@ std::string Target::GetComputedOutputName(bool include_prefix) const {
const Tool* tool = toolchain_->GetToolForTargetFinalOutput(this);
const std::string& prefix = tool->output_prefix();
// Only add the prefix if the name doesn't already have it.
- if (!StartsWithASCII(name, prefix, true))
+ if (!base::StartsWithASCII(name, prefix, true))
result = prefix;
}
« no previous file with comments | « tools/gn/input_conversion.cc ('k') | ui/base/ime/chromeos/component_extension_ime_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698