| Index: net/ftp/ftp_util.cc
|
| diff --git a/net/ftp/ftp_util.cc b/net/ftp/ftp_util.cc
|
| index a66845300f4f801f5941a19e5cd659a6ac4b888d..4af3603079bdc68d181e07372239fe7e67370b6a 100644
|
| --- a/net/ftp/ftp_util.cc
|
| +++ b/net/ftp/ftp_util.cc
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/i18n/case_conversion.h"
|
| #include "base/i18n/char_iterator.h"
|
| +#include "base/i18n/unicodestring.h"
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/memory/singleton.h"
|
| @@ -175,8 +176,8 @@ class AbbreviatedMonthsMap {
|
| format_symbols.getShortMonths(months_count);
|
|
|
| for (int32_t month = 0; month < months_count; month++) {
|
| - base::string16 month_name(months[month].getBuffer(),
|
| - static_cast<size_t>(months[month].length()));
|
| + base::string16 month_name(
|
| + base::i18n::UnicodeStringToString16(months[month]));
|
|
|
| // Ignore the case of the month names. The simplest way to handle that
|
| // is to make everything lowercase.
|
|
|