summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell
diff options
context:
space:
mode:
authorvsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 18:52:10 +0000
committervsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 18:52:10 +0000
commit8bd0de7e38b1f56b00e2ee8c2680b9306ede5eee (patch)
treefa146e5937db671b67ba8a425e0fcc9448d98a8d /webkit/tools/test_shell
parent776c05d1347784290de3751bb753439204247591 (diff)
downloadchromium_src-8bd0de7e38b1f56b00e2ee8c2680b9306ede5eee.zip
chromium_src-8bd0de7e38b1f56b00e2ee8c2680b9306ede5eee.tar.gz
chromium_src-8bd0de7e38b1f56b00e2ee8c2680b9306ede5eee.tar.bz2
Enabled actual transfer size in chromium
BUG=40502 TEST=Open DevTools, open site having gzip/chunked encoding, ensure transfer size is correct. Review URL: http://codereview.chromium.org/6771043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80965 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell')
-rw-r--r--webkit/tools/test_shell/simple_resource_loader_bridge.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/simple_resource_loader_bridge.cc b/webkit/tools/test_shell/simple_resource_loader_bridge.cc
index 81ebab4..7f278bd 100644
--- a/webkit/tools/test_shell/simple_resource_loader_bridge.cc
+++ b/webkit/tools/test_shell/simple_resource_loader_bridge.cc
@@ -305,7 +305,7 @@ class RequestProxy : public net::URLRequest::Delegate,
g_io_thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(
this, &RequestProxy::AsyncReadData));
- peer_->OnReceivedData(buf_copy.get(), bytes_read);
+ peer_->OnReceivedData(buf_copy.get(), bytes_read, -1);
}
void NotifyDownloadedData(int bytes_read) {