Chromium Code Reviews| Index: webkit/tools/test_shell/simple_resource_loader_bridge.cc |
| diff --git a/webkit/tools/test_shell/simple_resource_loader_bridge.cc b/webkit/tools/test_shell/simple_resource_loader_bridge.cc |
| index 81ebab42c9a6c34fc093b329aeb169091feaa281..7f278bd85be98f824419539787af1a217a339028 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); |
|
darin (slow to review)
2011/04/08 15:47:18
so -1 means unknown? is that documented somewhere
vsevik
2011/04/08 16:23:48
Yes, -1 is unknown. It is now mentioned in the com
|
| } |
| void NotifyDownloadedData(int bytes_read) { |