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

Unified Diff: webkit/plugins/npapi/webplugin_impl.cc

Issue 6771043: Enabled actual transfer size in chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 months 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: webkit/plugins/npapi/webplugin_impl.cc
diff --git a/webkit/plugins/npapi/webplugin_impl.cc b/webkit/plugins/npapi/webplugin_impl.cc
index ef48e40db439e48f6aef7a00485ba17bf5fa1698..6780ae4de8607e97874f2f05c1b501ecdf71b27f 100644
--- a/webkit/plugins/npapi/webplugin_impl.cc
+++ b/webkit/plugins/npapi/webplugin_impl.cc
@@ -977,7 +977,7 @@ void WebPluginImpl::didReceiveData2(WebURLLoader* loader,
if (index != multi_part_response_map_.end()) {
MultipartResponseDelegate* multi_part_handler = (*index).second;
DCHECK(multi_part_handler != NULL);
- multi_part_handler->OnReceivedData(buffer, data_length);
+ multi_part_handler->OnReceivedData(buffer, data_length, length_received);
} else {
loader->setDefersLoading(true);
client->DidReceiveData(buffer, data_length, 0);

Powered by Google App Engine
This is Rietveld 408576698