| Index: content/child/resource_dispatcher.cc
|
| diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
|
| index 38efe244a9a2e2f1ed58b6aa3dddfe07d929186b..09c7db9058e1b113afaf00134802bd9c250c9251 100644
|
| --- a/content/child/resource_dispatcher.cc
|
| +++ b/content/child/resource_dispatcher.cc
|
| @@ -157,8 +157,12 @@ void ResourceDispatcher::OnUploadProgress(int request_id,
|
|
|
| request_info->peer->OnUploadProgress(position, size);
|
|
|
| - // Acknowledge receipt
|
| - message_sender_->Send(new ResourceHostMsg_UploadProgress_ACK(request_id));
|
| + // URLLoaderClientImpl has its own acknowledgement, and doesn't need the IPC
|
| + // message here.
|
| + if (!request_info->url_loader) {
|
| + // Acknowledge receipt
|
| + message_sender_->Send(new ResourceHostMsg_UploadProgress_ACK(request_id));
|
| + }
|
| }
|
|
|
| void ResourceDispatcher::OnReceivedResponse(
|
|
|