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

Unified Diff: ppapi/shared_impl/file_ref_util.cc

Issue 121123002: Update uses of UTF conversions in ppapi/, printing/, remoting/, rlz/, sandbox/, skia/, sql/, sync/,… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « ppapi/proxy/pdf_resource_unittest.cc ('k') | printing/backend/print_backend_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/file_ref_util.cc
diff --git a/ppapi/shared_impl/file_ref_util.cc b/ppapi/shared_impl/file_ref_util.cc
index 3d2deff50ec050d0aeac91617ab39cba9861429d..3be8e0aed9476c4d3b086c1d4baea78e0afc62e4 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
« no previous file with comments | « ppapi/proxy/pdf_resource_unittest.cc ('k') | printing/backend/print_backend_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698