Index: Source/modules/encryptedmedia/MediaKeyNeededEvent.h |
diff --git a/Source/modules/encryptedmedia/MediaKeyNeededEvent.h b/Source/modules/encryptedmedia/MediaKeyNeededEvent.h |
index 545352da273b4b56ceffdaa5cbb615b9f613ee85..af95e39b4208024973af67d9981b79a84b91e261 100644 |
--- a/Source/modules/encryptedmedia/MediaKeyNeededEvent.h |
+++ b/Source/modules/encryptedmedia/MediaKeyNeededEvent.h |
@@ -42,14 +42,14 @@ class MediaKeyNeededEvent FINAL : public Event { |
public: |
virtual ~MediaKeyNeededEvent(); |
- static PassRefPtr<MediaKeyNeededEvent> create() |
+ static PassRefPtrWillBeRawPtr<MediaKeyNeededEvent> create() |
{ |
- return adoptRef(new MediaKeyNeededEvent); |
+ return adoptRefCountedWillBeRefCountedGarbageCollected(new MediaKeyNeededEvent); |
} |
- static PassRefPtr<MediaKeyNeededEvent> create(const AtomicString& type, const MediaKeyNeededEventInit& initializer) |
+ static PassRefPtrWillBeRawPtr<MediaKeyNeededEvent> create(const AtomicString& type, const MediaKeyNeededEventInit& initializer) |
{ |
- return adoptRef(new MediaKeyNeededEvent(type, initializer)); |
+ return adoptRefCountedWillBeRefCountedGarbageCollected(new MediaKeyNeededEvent(type, initializer)); |
} |
virtual const AtomicString& interfaceName() const OVERRIDE; |