Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1546)

Unified Diff: content/child/ftp_directory_listing_response_delegate.cc

Issue 2540023003: Dispatch encoded_data_length separately in content/child (Closed)
Patch Set: fix Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 526ad29fb1e12bdfea2d4fbbac0e3903f8c0d3c9..7d3377a2148bd0e61548653e84060187b80d1823 100644
--- a/content/child/ftp_directory_listing_response_delegate.cc
+++ b/content/child/ftp_directory_listing_response_delegate.cc
@@ -131,7 +131,7 @@ void FtpDirectoryListingResponseDelegate::Init(const GURL& response_url) {
void FtpDirectoryListingResponseDelegate::SendDataToClient(
const std::string& data) {
if (client_) {
- client_->didReceiveData(data.data(), data.length(), -1);
+ client_->didReceiveData(data.data(), data.length());
}
}

Powered by Google App Engine
This is Rietveld 408576698