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 df0107acb800525627760f1697288e8a312fa638..3acd794c3927c226091ac498ca0df3944b51be17 100644 |
--- a/components/offline_pages/background/request_coordinator.cc |
+++ b/components/offline_pages/background/request_coordinator.cc |
@@ -492,11 +492,7 @@ void RequestCoordinator::OfflinerDoneCallback(const SavePageRequest& request, |
// aborted cases to treat this way (eg, for Render Process Killed). |
SavePageRequest updated_request(request); |
AbortRequestAttempt(&updated_request); |
- BackgroundSavePageResult notify_status = |
- (status == Offliner::RequestStatus::FOREGROUND_CANCELED) |
- ? BackgroundSavePageResult::FOREGROUND_CANCELED |
- : BackgroundSavePageResult::PRERENDER_CANCELED; |
- NotifyCompleted(updated_request, notify_status); |
+ NotifyChanged(updated_request); |
} else if (status == Offliner::RequestStatus::SAVED) { |
// Remove the request from the queue if it succeeded. |
RemoveAttemptedRequest(request, BackgroundSavePageResult::SUCCESS); |