Index: base/i18n/file_util_icu.cc |
diff --git a/base/i18n/file_util_icu.cc b/base/i18n/file_util_icu.cc |
index 7b3375e9c0850d7816892059604ac3e879b311cb..6189577c3a57691e5d411378220e3bd93b3a395d 100644 |
--- a/base/i18n/file_util_icu.cc |
+++ b/base/i18n/file_util_icu.cc |
@@ -164,8 +164,8 @@ bool LocaleAwareCompareFilenames(const FilePath& a, const FilePath& b) { |
// On linux, the file system encoding is not defined. We assume |
// SysNativeMBToWide takes care of it. |
return CompareString16WithCollator( |
- *collator, WideToUTF16(SysNativeMBToWide(a.value().c_str())), |
- WideToUTF16(SysNativeMBToWide(b.value().c_str()))) == UCOL_LESS; |
+ *collator, WideToUTF16(SysNativeMBToWide(a.value())), |
+ WideToUTF16(SysNativeMBToWide(b.value()))) == UCOL_LESS; |
#else |
#error Not implemented on your system |
#endif |