summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/file_ref_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/shared_impl/file_ref_util.cc')
-rw-r--r--ppapi/shared_impl/file_ref_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/shared_impl/file_ref_util.cc b/ppapi/shared_impl/file_ref_util.cc
index 3d2deff..3be8e0a 100644
--- a/ppapi/shared_impl/file_ref_util.cc
+++ b/ppapi/shared_impl/file_ref_util.cc
@@ -23,7 +23,7 @@ std::string GetNameForExternalFilePath(const base::FilePath& path) {
size_t pos = file_path.rfind(base::FilePath::kSeparators[0]);
CHECK(pos != base::FilePath::StringType::npos);
#if defined(OS_WIN)
- return WideToUTF8(file_path.substr(pos + 1));
+ return base::WideToUTF8(file_path.substr(pos + 1));
#elif defined(OS_POSIX)
return file_path.substr(pos + 1);
#else