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

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

Issue 182763002: Add [WillBeGarbageCollected] to Event.idl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeyMessageEvent.h ('k') | Source/modules/gamepad/GamepadEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encryptedmedia/MediaKeyNeededEvent.h
diff --git a/Source/modules/encryptedmedia/MediaKeyNeededEvent.h b/Source/modules/encryptedmedia/MediaKeyNeededEvent.h
index 545352da273b4b56ceffdaa5cbb615b9f613ee85..1421a078de2e50a80dddd27ab7d75c1cc14082aa 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 adoptRefWillBeRefCountedGarbageCollected(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 adoptRefWillBeRefCountedGarbageCollected(new MediaKeyNeededEvent(type, initializer));
}
virtual const AtomicString& interfaceName() const OVERRIDE;
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeyMessageEvent.h ('k') | Source/modules/gamepad/GamepadEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698