| Index: components/offline_pages/background/request_coordinator.cc
|
| diff --git a/components/offline_pages/background/request_coordinator.cc b/components/offline_pages/background/request_coordinator.cc
|
| index cfc32ed6421536e1e1db56baee43602706767d15..020965f80957760860138120404d2997cd1164b3 100644
|
| --- a/components/offline_pages/background/request_coordinator.cc
|
| +++ b/components/offline_pages/background/request_coordinator.cc
|
| @@ -212,6 +212,13 @@ void RequestCoordinator::StopPrerendering(Offliner::RequestStatus stop_status) {
|
| DCHECK(active_request_.get());
|
| offliner_->Cancel();
|
|
|
| + // If we timed out, let the offliner done callback handle it.
|
| + if (processing_state_ == ProcessingWindowState::IMMEDIATE_WINDOW &&
|
| + stop_status == Offliner::RequestStatus::REQUEST_COORDINATOR_TIMED_OUT)
|
| + return;
|
| +
|
| + // Otherwise, this attempt never really had a chance to run, mark it
|
| + // aborted.
|
| AbortRequestAttempt(active_request_.get());
|
| }
|
|
|
|
|