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

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