| Index: net/ftp/ftp_directory_listing_parser_ls.cc
|
| diff --git a/net/ftp/ftp_directory_listing_parser_ls.cc b/net/ftp/ftp_directory_listing_parser_ls.cc
|
| index 41e29b60a9b9e37a28d25abf1f3644672c5afeb6..27174a6afd7876f26189c002d09d89b964d93aba 100644
|
| --- a/net/ftp/ftp_directory_listing_parser_ls.cc
|
| +++ b/net/ftp/ftp_directory_listing_parser_ls.cc
|
| @@ -167,7 +167,7 @@ bool ParseFtpDirectoryListingLs(
|
| // All those messages have in common is the string ".:",
|
| // where "." means the current directory, and ":" separates it
|
| // from the rest of the message, which may be empty.
|
| - if (lines[i].find(ASCIIToUTF16(".:")) != base::string16::npos)
|
| + if (lines[i].find(base::ASCIIToUTF16(".:")) != base::string16::npos)
|
| continue;
|
|
|
| return false;
|
| @@ -216,7 +216,8 @@ bool ParseFtpDirectoryListingLs(
|
| column_offset + 1);
|
|
|
| if (entry.type == FtpDirectoryListingEntry::SYMLINK) {
|
| - base::string16::size_type pos = entry.name.rfind(ASCIIToUTF16(" -> "));
|
| + base::string16::size_type pos =
|
| + entry.name.rfind(base::ASCIIToUTF16(" -> "));
|
|
|
| // We don't require the " -> " to be present. Some FTP servers don't send
|
| // the symlink target, possibly for security reasons.
|
|
|