Index: Source/modules/serviceworkers/ServiceWorkerRegistration.cpp |
diff --git a/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp b/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp |
index bbf5d0df242eb4677f782479fa46584b90a02544..6f746732ebf9439dfbefac2ffc957e3ebfd21c05 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp |
+++ b/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp |
@@ -22,11 +22,7 @@ namespace blink { |
class UndefinedValue { |
public: |
-#ifdef DISABLE_SERVICE_WORKER_REGISTRATION |
- typedef WebServiceWorker WebType; |
-#else |
typedef WebServiceWorkerRegistration WebType; |
-#endif |
static V8UndefinedType take(ScriptPromiseResolver* resolver, WebType* registration) |
{ |
ASSERT(!registration); // Anything passed here will be leaked. |