| Index: content/child/ftp_directory_listing_response_delegate.cc
|
| diff --git a/content/child/ftp_directory_listing_response_delegate.cc b/content/child/ftp_directory_listing_response_delegate.cc
|
| index 0a24bbf19414864757bf4c037ee7473941379ae1..73f3914beae8d73fee2101fdf81d4bab86f05bad 100644
|
| --- a/content/child/ftp_directory_listing_response_delegate.cc
|
| +++ b/content/child/ftp_directory_listing_response_delegate.cc
|
| @@ -129,8 +129,10 @@ void FtpDirectoryListingResponseDelegate::Init(const GURL& response_url) {
|
|
|
| void FtpDirectoryListingResponseDelegate::SendDataToClient(
|
| const std::string& data) {
|
| - if (client_)
|
| - client_->didReceiveData(loader_, data.data(), data.length(), -1);
|
| + if (client_) {
|
| + client_->didReceiveData(loader_, data.data(), data.length(), -1,
|
| + data.length());
|
| + }
|
| }
|
|
|
| } // namespace content
|
|
|