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

Unified Diff: Source/modules/encryptedmedia/MediaKeyMessageEvent.h

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/encryptedmedia/MediaKeyMessageEvent.h
diff --git a/Source/modules/encryptedmedia/MediaKeyMessageEvent.h b/Source/modules/encryptedmedia/MediaKeyMessageEvent.h
index a1f279f3429294288dc9a521ec77742bd52f2dd4..bff2d4b1bb5a289346cd29bb3863416f5a4cb1fc 100644
--- a/Source/modules/encryptedmedia/MediaKeyMessageEvent.h
+++ b/Source/modules/encryptedmedia/MediaKeyMessageEvent.h
@@ -43,14 +43,14 @@ class MediaKeyMessageEvent FINAL : public Event {
public:
virtual ~MediaKeyMessageEvent();
- static PassRefPtrWillBeRawPtr<MediaKeyMessageEvent> create()
+ static PassRefPtr<MediaKeyMessageEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new MediaKeyMessageEvent);
+ return adoptRef(new MediaKeyMessageEvent);
}
- static PassRefPtrWillBeRawPtr<MediaKeyMessageEvent> create(const AtomicString& type, const MediaKeyMessageEventInit& initializer)
+ static PassRefPtr<MediaKeyMessageEvent> create(const AtomicString& type, const MediaKeyMessageEventInit& initializer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new MediaKeyMessageEvent(type, initializer));
+ return adoptRef(new MediaKeyMessageEvent(type, initializer));
}
virtual const AtomicString& interfaceName() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698