Index: Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.cpp b/Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
index 1b314266d3baaa47107bdabbe00ef766cff9dbe6..b2cbfdf13d4a070c480c6330f2386fcac0f6896d 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
@@ -130,7 +130,6 @@ ScriptPromise ServiceWorkerContainer::registerServiceWorker(ScriptState* scriptS |
class UndefinedValue { |
public: |
- |
#ifdef DISABLE_SERVICE_WORKER_REGISTRATION |
typedef WebServiceWorker WebType; |
#else |
@@ -141,6 +140,10 @@ public: |
ASSERT(!registration); // Anything passed here will be leaked. |
return V8UndefinedType(); |
} |
+ static void dispose(WebServiceWorker* worker) |
+ { |
+ ASSERT(!worker); // Anything passed here will be leaked. |
+ } |
private: |
UndefinedValue(); |