Index: Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp |
diff --git a/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp b/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp |
index 873eea69876d3f303ca6669ad6af2b409cc3b43e..0ce295f4beda7db9e86d35377dd3d0ed800411a7 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp |
+++ b/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp |
@@ -16,6 +16,16 @@ |
namespace blink { |
+ServiceWorkerWindowClient* ServiceWorkerWindowClient::take(ScriptPromiseResolver*, ServiceWorkerWindowClient::WebType* webClientRaw) |
+{ |
+ return ServiceWorkerWindowClient::create(*webClientRaw); |
+} |
+ |
+void ServiceWorkerWindowClient::dispose(ServiceWorkerWindowClient::WebType* webClientRaw) |
+{ |
+ delete webClientRaw; |
+} |
+ |
ServiceWorkerWindowClient* ServiceWorkerWindowClient::create(const WebServiceWorkerClientInfo& info) |
{ |
return new ServiceWorkerWindowClient(info); |