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

Unified Diff: Source/modules/push_messaging/PushError.cpp

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/push_messaging/PushError.cpp
diff --git a/Source/modules/push_messaging/PushError.cpp b/Source/modules/push_messaging/PushError.cpp
index af263b0cf200509219531eab95bd838046fbaf63..49f14ec7d7fdc90d51cbe08a4078c42a29c08cc3 100644
--- a/Source/modules/push_messaging/PushError.cpp
+++ b/Source/modules/push_messaging/PushError.cpp
@@ -23,4 +23,9 @@ PassRefPtrWillBeRawPtr<DOMException> PushError::from(ScriptPromiseResolver*, Web
return DOMException::create(UnknownError);
}
+void PushError::dispose(WebType* webErrorRaw)
+{
+ delete webErrorRaw;
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698