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

Unified Diff: content/common/resource_messages.cc

Issue 1347373003: Revert of Add a dummy variable to ResourceMsg_DataReceived. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc_revert2
Patch Set: 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 | « content/common/resource_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_messages.cc
diff --git a/content/common/resource_messages.cc b/content/common/resource_messages.cc
index 361e133b77d7ea4c3f8a63e6fe7e90bf2453f779..c4169ba6454e6914ca29983f850b1bf75ccd8a70 100644
--- a/content/common/resource_messages.cc
+++ b/content/common/resource_messages.cc
@@ -17,7 +17,7 @@
ResourceMsg_DataReceived::Schema::Param arg;
bool success = ResourceMsg_DataReceived::Read(message, &arg);
CHECK(success);
- int data_offset = base::get<2>(arg);
+ int data_offset = base::get<1>(arg);
CHECK_LE(data_offset, 512 * 1024);
base::debug::Alias(&data_offset);
}
« no previous file with comments | « content/common/resource_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698