Index: Source/modules/serviceworkers/InstallPhaseEvent.cpp |
diff --git a/Source/modules/serviceworkers/InstallPhaseEvent.cpp b/Source/modules/serviceworkers/InstallPhaseEvent.cpp |
index 0c33d865ab7a526df68299d8beecee2b7807c486..78c42d3ef0d5402afc9de5f67398be9c44cc30c9 100644 |
--- a/Source/modules/serviceworkers/InstallPhaseEvent.cpp |
+++ b/Source/modules/serviceworkers/InstallPhaseEvent.cpp |
@@ -31,8 +31,8 @@ |
#include "config.h" |
#include "InstallPhaseEvent.h" |
+#include "bindings/v8/ScriptWrappable.h" |
#include "modules/serviceworkers/WaitUntilObserver.h" |
-#include "platform/NotImplemented.h" |
namespace WebCore { |
@@ -52,12 +52,19 @@ void InstallPhaseEvent::waitUntil(const ScriptValue& value) |
InstallPhaseEvent::InstallPhaseEvent() |
{ |
+ ScriptWrappable::init(this); |
} |
InstallPhaseEvent::InstallPhaseEvent(const AtomicString& type, const EventInit& initializer, PassRefPtr<WaitUntilObserver> observer) |
: Event(type, initializer) |
, m_observer(observer) |
{ |
+ ScriptWrappable::init(this); |
+} |
+ |
+const AtomicString& InstallPhaseEvent::interfaceName() const |
+{ |
+ return EventNames::InstallPhaseEvent; |
} |
void InstallPhaseEvent::trace(Visitor* visitor) |