summaryrefslogtreecommitdiffstats
path: root/content/child/resource_dispatcher_unittest.cc
diff options
context:
space:
mode:
authorerikchen <erikchen@chromium.org>2015-09-20 15:30:02 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-20 22:30:41 +0000
commit9064a2524f743be9eaafd39c442fa2391f657a92 (patch)
tree902161ff6153ce710da956a17935ab3c74f7315b /content/child/resource_dispatcher_unittest.cc
parentcbc2c41f8ebfd747063484c12cdaeb904d0a93df (diff)
downloadchromium_src-9064a2524f743be9eaafd39c442fa2391f657a92.zip
chromium_src-9064a2524f743be9eaafd39c442fa2391f657a92.tar.gz
chromium_src-9064a2524f743be9eaafd39c442fa2391f657a92.tar.bz2
Revert of Add a dummy variable to ResourceMsg_DataReceived. (patchset #4 id:60001 of https://codereview.chromium.org/1346923008/ )
Reason for revert: This CL was only intended to be a part of one canary release. Original issue's description: > content: Add a dummy variable to ResourceMsg_DataReceived. > > I suspect that this will expose a crash for a small number of Windows canary > users. This CL is only intended to be landed for one day. > > BUG=527588 > > Committed: https://crrev.com/a59c6e37a4cc9f01ab0a8fffc79004875a8b0617 > Cr-Commit-Position: refs/heads/master@{#349830} TBR=avi@chromium.org,tsepez@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=527588 Review URL: https://codereview.chromium.org/1347373003 Cr-Commit-Position: refs/heads/master@{#349881}
Diffstat (limited to 'content/child/resource_dispatcher_unittest.cc')
-rw-r--r--content/child/resource_dispatcher_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/child/resource_dispatcher_unittest.cc b/content/child/resource_dispatcher_unittest.cc
index 84c67fe..e449c334 100644
--- a/content/child/resource_dispatcher_unittest.cc
+++ b/content/child/resource_dispatcher_unittest.cc
@@ -304,8 +304,8 @@ class ResourceDispatcherTest : public testing::Test, public IPC::Sender {
memcpy(shared_memory_map_[request_id]->memory(), data.c_str(),
data.length());
- EXPECT_TRUE(dispatcher_.OnMessageReceived(ResourceMsg_DataReceived(
- request_id, 0, 0, data.length(), data.length())));
+ EXPECT_TRUE(dispatcher_.OnMessageReceived(
+ ResourceMsg_DataReceived(request_id, 0, data.length(), data.length())));
}
void NotifyDataDownloaded(int request_id, int decoded_length,