Chromium Code Reviews

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

Issue 182763002: 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/InstallPhaseEvent.cpp
diff --git a/Source/modules/serviceworkers/InstallPhaseEvent.cpp b/Source/modules/serviceworkers/InstallPhaseEvent.cpp
index 085170deddb460776e6c478dd554c5dfc53a636e..c3f0fa8807292a20d3154ef045cbfa8caed7189b 100644
--- a/Source/modules/serviceworkers/InstallPhaseEvent.cpp
+++ b/Source/modules/serviceworkers/InstallPhaseEvent.cpp
@@ -36,9 +36,9 @@
namespace WebCore {
-PassRefPtr<InstallPhaseEvent> InstallPhaseEvent::create()
+PassRefPtrWillBeRawPtr<InstallPhaseEvent> InstallPhaseEvent::create()
{
- return adoptRef(new InstallPhaseEvent());
+ return adoptRefCountedWillBeRefCountedGarbageCollected(new InstallPhaseEvent());
}
InstallPhaseEvent::~InstallPhaseEvent()

Powered by Google App Engine