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

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

Powered by Google App Engine
This is Rietveld 408576698