Chromium Code Reviews

Unified Diff: Source/modules/serviceworkers/InstallEvent.cpp

Issue 185393006: Revert "Add [WillBeGarbageCollected] to Event.idl" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/modules/serviceworkers/InstallEvent.cpp
diff --git a/Source/modules/serviceworkers/InstallEvent.cpp b/Source/modules/serviceworkers/InstallEvent.cpp
index adde888bba0dec8fc8161d93ab4963ca7d8608ab..5a476b84e87dc1b23a0eb458d01846da5917e26e 100644
--- a/Source/modules/serviceworkers/InstallEvent.cpp
+++ b/Source/modules/serviceworkers/InstallEvent.cpp
@@ -39,14 +39,14 @@
namespace WebCore {
-PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create()
+PassRefPtr<InstallEvent> InstallEvent::create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new InstallEvent());
+ return adoptRef(new InstallEvent());
}
-PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create(const AtomicString& type, const EventInit& initializer, PassRefPtr<WaitUntilObserver> observer)
+PassRefPtr<InstallEvent> InstallEvent::create(const AtomicString& type, const EventInit& initializer, PassRefPtr<WaitUntilObserver> observer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new InstallEvent(type, initializer, observer));
+ return adoptRef(new InstallEvent(type, initializer, observer));
}
void InstallEvent::replace()

Powered by Google App Engine