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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerError.h

Issue 396963002: ServiceWorker: Bypass resolving a promise when ExecutionContext is gone (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 5 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: Source/modules/serviceworkers/ServiceWorkerError.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerError.h b/Source/modules/serviceworkers/ServiceWorkerError.h
index 161142a0f7fefd634786c8a0368122b8653a4629..85c4611ba83a9f0d03987f40e9bd1a3f55225b70 100644
--- a/Source/modules/serviceworkers/ServiceWorkerError.h
+++ b/Source/modules/serviceworkers/ServiceWorkerError.h
@@ -45,6 +45,7 @@ public:
// For CallbackPromiseAdapter
typedef blink::WebServiceWorkerError WebType;
static PassRefPtrWillBeRawPtr<DOMException> from(ScriptPromiseResolver*, WebType* webErrorRaw);
+ static void dispose(WebType* webErrorRaw);
private:
WTF_MAKE_NONCOPYABLE(ServiceWorkerError);
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerContainer.cpp ('k') | Source/modules/serviceworkers/ServiceWorkerError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698