Index: Source/modules/serviceworkers/InstallEvent.cpp |
diff --git a/Source/modules/serviceworkers/InstallEvent.cpp b/Source/modules/serviceworkers/InstallEvent.cpp |
index a7d85551d594c2b9a69824abf7d00972cd2cf10d..9672f1605fdc91a348e5819d42f58f7e920d0958 100644 |
--- a/Source/modules/serviceworkers/InstallEvent.cpp |
+++ b/Source/modules/serviceworkers/InstallEvent.cpp |
@@ -42,7 +42,12 @@ PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create() |
return adoptRefWillBeNoop(new InstallEvent()); |
} |
-PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create(const AtomicString& type, const EventInit& initializer, WaitUntilObserver* observer) |
+PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create(const AtomicString& type, const InstallEventInit& initializer) |
+{ |
+ return adoptRefWillBeNoop(new InstallEvent(type, initializer)); |
+} |
+ |
+PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create(const AtomicString& type, const InstallEventInit& initializer, WaitUntilObserver* observer) |
{ |
return adoptRefWillBeNoop(new InstallEvent(type, initializer, observer)); |
} |
@@ -56,7 +61,12 @@ InstallEvent::InstallEvent() |
{ |
} |
-InstallEvent::InstallEvent(const AtomicString& type, const EventInit& initializer, WaitUntilObserver* observer) |
+InstallEvent::InstallEvent(const AtomicString& type, const InstallEventInit& initializer) |
+ : ExtendableEvent(type, initializer) |
+{ |
+} |
+ |
+InstallEvent::InstallEvent(const AtomicString& type, const InstallEventInit& initializer, WaitUntilObserver* observer) |
: ExtendableEvent(type, initializer, observer) |
{ |
} |