Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2313)

Unified Diff: content/browser/service_worker/service_worker_fetch_dispatcher.cc

Issue 2466843002: Cancel the request when URLLoader is gone (Closed)
Patch Set: fix Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/service_worker/service_worker_fetch_dispatcher.cc
diff --git a/content/browser/service_worker/service_worker_fetch_dispatcher.cc b/content/browser/service_worker/service_worker_fetch_dispatcher.cc
index 64aaa7c8cef5a6a879251a07a93c748ab0a5f163..5f0eb840b1d0d1bf4a673365f3522160ec7956d3 100644
--- a/content/browser/service_worker/service_worker_fetch_dispatcher.cc
+++ b/content/browser/service_worker/service_worker_fetch_dispatcher.cc
@@ -46,7 +46,6 @@ class DelegatingURLLoader final : public mojom::URLLoader {
~DelegatingURLLoader() override {}
void FollowRedirect() override { loader_->FollowRedirect(); }
- void Cancel() override { loader_->Cancel(); }
mojom::URLLoaderPtr CreateInterfacePtrAndBind() {
return binding_.CreateInterfacePtrAndBind();

Powered by Google App Engine
This is Rietveld 408576698