Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
This is Rietveld 408576698