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

Unified Diff: content/browser/loader/async_resource_handler.cc

Issue 1346923008: Add a dummy variable to ResourceMsg_DataReceived. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc_revert2
Patch Set: Fix unit test error. Created 5 years, 3 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
« no previous file with comments | « no previous file | content/browser/loader/resource_dispatcher_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/async_resource_handler.cc
diff --git a/content/browser/loader/async_resource_handler.cc b/content/browser/loader/async_resource_handler.cc
index 96cb4f401ff18b0eb6ae5e2169e049cba342f5b6..eec389864fd658a0b1fb546ed408ed6822063b5c 100644
--- a/content/browser/loader/async_resource_handler.cc
+++ b/content/browser/loader/async_resource_handler.cc
@@ -335,7 +335,7 @@ bool AsyncResourceHandler::OnReadCompleted(int bytes_read, bool* defer) {
CHECK_LE(data_offset, kBufferSize);
filter->Send(new ResourceMsg_DataReceived(
- GetRequestID(), data_offset, bytes_read, encoded_data_length));
+ GetRequestID(), 0, data_offset, bytes_read, encoded_data_length));
++pending_data_count_;
if (!buffer_->CanAllocate()) {
« no previous file with comments | « no previous file | content/browser/loader/resource_dispatcher_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698