| Index: net/ftp/ftp_network_transaction.cc
|
| diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc
|
| index 8ecde3104de06e93f15218764c8ae756c40a1f6a..bc66faa5c8d7545247b9dba2981e34cec7567426 100644
|
| --- a/net/ftp/ftp_network_transaction.cc
|
| +++ b/net/ftp/ftp_network_transaction.cc
|
| @@ -475,7 +475,7 @@ std::string FtpNetworkTransaction::GetRequestPathForFtpCommand(
|
| bool is_directory) const {
|
| std::string path(current_remote_directory_);
|
| if (request_->url.has_path()) {
|
| - std::string gurl_path(request_->url.path());
|
| + std::string gurl_path(request_->url.path().as_string());
|
|
|
| // Get rid of the typecode, see RFC 1738 section 3.2.2. FTP url-path.
|
| std::string::size_type pos = gurl_path.rfind(';');
|
| @@ -509,7 +509,7 @@ std::string FtpNetworkTransaction::GetRequestPathForFtpCommand(
|
| void FtpNetworkTransaction::DetectTypecode() {
|
| if (!request_->url.has_path())
|
| return;
|
| - std::string gurl_path(request_->url.path());
|
| + std::string gurl_path(request_->url.path().as_string());
|
|
|
| // Extract the typecode, see RFC 1738 section 3.2.2. FTP url-path.
|
| std::string::size_type pos = gurl_path.rfind(';');
|
|
|