summaryrefslogtreecommitdiffstats
path: root/tools/gn
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gn')
-rw-r--r--tools/gn/input_conversion.cc2
-rw-r--r--tools/gn/setup.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/gn/input_conversion.cc b/tools/gn/input_conversion.cc
index c22789a..246b4c9 100644
--- a/tools/gn/input_conversion.cc
+++ b/tools/gn/input_conversion.cc
@@ -132,7 +132,7 @@ Value DoConvertInputToValue(const std::string& input,
const char kTrimPrefix[] = "trim ";
if (StartsWithASCII(input_conversion, kTrimPrefix, true)) {
std::string trimmed;
- TrimWhitespaceASCII(input, TRIM_ALL, &trimmed);
+ base::TrimWhitespaceASCII(input, base::TRIM_ALL, &trimmed);
// Remove "trim" prefix from the input conversion and re-run.
return DoConvertInputToValue(
diff --git a/tools/gn/setup.cc b/tools/gn/setup.cc
index 5f30cf8..0c969ab 100644
--- a/tools/gn/setup.cc
+++ b/tools/gn/setup.cc
@@ -319,7 +319,7 @@ void Setup::FillPythonPath() {
L"cmd.exe /c python -c \"import sys; print sys.executable\"";
std::string python_path;
if (base::GetAppOutput(kGetPython, &python_path)) {
- TrimWhitespaceASCII(python_path, TRIM_ALL, &python_path);
+ base::TrimWhitespaceASCII(python_path, base::TRIM_ALL, &python_path);
if (scheduler_.verbose_logging())
scheduler_.Log("Found python", python_path);
} else {