summaryrefslogtreecommitdiffstats
path: root/tools/gn/filesystem_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gn/filesystem_utils.cc')
-rw-r--r--tools/gn/filesystem_utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gn/filesystem_utils.cc b/tools/gn/filesystem_utils.cc
index 5d9b5f1..5866e71 100644
--- a/tools/gn/filesystem_utils.cc
+++ b/tools/gn/filesystem_utils.cc
@@ -197,7 +197,7 @@ const char* GetExtensionForOutputType(Target::OutputType type,
std::string FilePathToUTF8(const base::FilePath::StringType& str) {
#if defined(OS_WIN)
- return WideToUTF8(str);
+ return base::WideToUTF8(str);
#else
return str;
#endif
@@ -205,7 +205,7 @@ std::string FilePathToUTF8(const base::FilePath::StringType& str) {
base::FilePath UTF8ToFilePath(const base::StringPiece& sp) {
#if defined(OS_WIN)
- return base::FilePath(UTF8ToWide(sp));
+ return base::FilePath(base::UTF8ToWide(sp));
#else
return base::FilePath(sp.as_string());
#endif