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

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp

Issue 2703343002: ServiceWorker: Use mojo's data pipe for respondWith(stream) (Closed)
Patch Set: Addressed comments from kinuko and haraken Created 3 years, 8 months 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: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
index c7e8b5b33844e27bd80aced8b8bb71899f7eec8f..02ba59ee787f700515ce5c86251d0bcb491d69fc 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
@@ -331,7 +331,7 @@ void ServiceWorkerGlobalScopeProxy::DispatchForeignFetchEvent(
// TODO(mek): Ideally the browser wouldn't even start the service worker
// if its tokens have expired.
ServiceWorkerGlobalScopeClient::From(WorkerGlobalScope())
- ->RespondToFetchEvent(fetch_event_id, WTF::CurrentTime());
+ ->RespondToFetchEventWithNoResponse(fetch_event_id, WTF::CurrentTime());
ServiceWorkerGlobalScopeClient::From(WorkerGlobalScope())
->DidHandleFetchEvent(fetch_event_id,
kWebServiceWorkerEventResultCompleted,
« no previous file with comments | « third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698