Index: Source/modules/serviceworkers/InstallEvent.cpp |
diff --git a/Source/modules/serviceworkers/InstallEvent.cpp b/Source/modules/serviceworkers/InstallEvent.cpp |
index 2aae7882a73a39c61ac8ccafdd2af19b990e1302..5c30abb3bcdaaf008716eb7a321395b2e002ed70 100644 |
--- a/Source/modules/serviceworkers/InstallEvent.cpp |
+++ b/Source/modules/serviceworkers/InstallEvent.cpp |
@@ -38,14 +38,14 @@ |
namespace WebCore { |
-PassRefPtr<InstallEvent> InstallEvent::create() |
+PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create() |
{ |
- return adoptRef(new InstallEvent()); |
+ return adoptRefWillBeRefCountedGarbageCollected(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 adoptRefWillBeRefCountedGarbageCollected(new InstallEvent(type, initializer, observer)); |
} |
void InstallEvent::replace() |