Index: Source/modules/encryptedmedia/MediaKeyNeededEvent.h |
diff --git a/Source/modules/encryptedmedia/MediaKeyNeededEvent.h b/Source/modules/encryptedmedia/MediaKeyNeededEvent.h |
index 1421a078de2e50a80dddd27ab7d75c1cc14082aa..545352da273b4b56ceffdaa5cbb615b9f613ee85 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 PassRefPtrWillBeRawPtr<MediaKeyNeededEvent> create() |
+ static PassRefPtr<MediaKeyNeededEvent> create() |
{ |
- return adoptRefWillBeRefCountedGarbageCollected(new MediaKeyNeededEvent); |
+ return adoptRef(new MediaKeyNeededEvent); |
} |
- static PassRefPtrWillBeRawPtr<MediaKeyNeededEvent> create(const AtomicString& type, const MediaKeyNeededEventInit& initializer) |
+ static PassRefPtr<MediaKeyNeededEvent> create(const AtomicString& type, const MediaKeyNeededEventInit& initializer) |
{ |
- return adoptRefWillBeRefCountedGarbageCollected(new MediaKeyNeededEvent(type, initializer)); |
+ return adoptRef(new MediaKeyNeededEvent(type, initializer)); |
} |
virtual const AtomicString& interfaceName() const OVERRIDE; |