Index: net/base/filename_util.cc |
diff --git a/net/base/filename_util.cc b/net/base/filename_util.cc |
index 01b9f636418d7e4f047b9da1ef8268742132ea39..0969f7155215884875a69992130e37098ef1db07 100644 |
--- a/net/base/filename_util.cc |
+++ b/net/base/filename_util.cc |
@@ -163,10 +163,9 @@ bool IsReservedNameOnWindows(const base::FilePath::StringType& filename) { |
"com5", "com6", "com7", "com8", "com9", "lpt1", "lpt2", "lpt3", |
"lpt4", "lpt5", "lpt6", "lpt7", "lpt8", "lpt9", "clock$"}; |
#if defined(OS_WIN) |
- std::string filename_lower = |
- base::StringToLowerASCII(base::WideToUTF8(filename)); |
+ std::string filename_lower = base::ToLowerASCII(base::WideToUTF8(filename)); |
#elif defined(OS_POSIX) |
- std::string filename_lower = base::StringToLowerASCII(filename); |
+ std::string filename_lower = base::ToLowerASCII(filename); |
#endif |
for (size_t i = 0; i < arraysize(known_devices); ++i) { |