| Index: content/child/resource_dispatcher.cc
|
| diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
|
| index aa413aeb97706540315d10f869a9a418683dffde..cd26a3b38c2532ea853a23c5add1cb9ac68a0060 100644
|
| --- a/content/child/resource_dispatcher.cc
|
| +++ b/content/child/resource_dispatcher.cc
|
| @@ -101,6 +101,11 @@ class URLLoaderClientImpl final : public mojom::URLLoaderClient {
|
| }
|
|
|
| void OnComplete(const ResourceRequestCompletionStatus& status) override {
|
| + if (!body_consumer_) {
|
| + resource_dispatcher_->OnMessageReceived(
|
| + ResourceMsg_RequestComplete(request_id_, status));
|
| + return;
|
| + }
|
| body_consumer_->OnComplete(status);
|
| }
|
|
|
|
|