| Index: Source/modules/serviceworkers/InstallEvent.cpp
|
| diff --git a/Source/modules/serviceworkers/InstallEvent.cpp b/Source/modules/serviceworkers/InstallEvent.cpp
|
| index 5a476b84e87dc1b23a0eb458d01846da5917e26e..de60fb3ef831d5747bb9a2330db4ce6b52616a9a 100644
|
| --- a/Source/modules/serviceworkers/InstallEvent.cpp
|
| +++ b/Source/modules/serviceworkers/InstallEvent.cpp
|
| @@ -39,14 +39,14 @@
|
|
|
| namespace WebCore {
|
|
|
| -PassRefPtr<InstallEvent> InstallEvent::create()
|
| +PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create()
|
| {
|
| - return adoptRef(new InstallEvent());
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new InstallEvent());
|
| }
|
|
|
| -PassRefPtr<InstallEvent> InstallEvent::create(const AtomicString& type, const EventInit& initializer, PassRefPtr<WaitUntilObserver> observer)
|
| +PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create(const AtomicString& type, const EventInit& initializer, PassRefPtr<WaitUntilObserver> observer)
|
| {
|
| - return adoptRef(new InstallEvent(type, initializer, observer));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new InstallEvent(type, initializer, observer));
|
| }
|
|
|
| void InstallEvent::replace()
|
|
|