Chromium Code Reviews| Index: Source/modules/encryptedmedia/MediaKeySession.h |
| diff --git a/Source/modules/encryptedmedia/MediaKeySession.h b/Source/modules/encryptedmedia/MediaKeySession.h |
| index aee59a710fbd96c5d7313d5b1ee457475a98c90e..1552d62cd163204261fc950223f9cdb49eb7e427 100644 |
| --- a/Source/modules/encryptedmedia/MediaKeySession.h |
| +++ b/Source/modules/encryptedmedia/MediaKeySession.h |
| @@ -64,9 +64,8 @@ class MediaKeys; |
| // it may outlive any JavaScript references as long as the MediaKeys object is alive. |
| // The WebContentDecryptionModuleSession has the same lifetime as this object. |
| class MediaKeySession FINAL |
| - : public RefCountedGarbageCollected<MediaKeySession>, public ActiveDOMObject, public ScriptWrappable, public EventTargetWithInlineData |
| + : public GarbageCollectedFinalized<MediaKeySession>, public ActiveDOMObject, public ScriptWrappable, public EventTargetWithInlineData |
|
tkent
2014/06/12 02:21:57
This still need to be RefCountedGarbageCollected w
haraken
2014/06/12 02:26:27
Good point, and we also need to introduce adoptRef
|
| , private blink::WebContentDecryptionModuleSession::Client { |
| - DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedGarbageCollected<MediaKeySession>); |
| WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaKeySession); |
| public: |
| static MediaKeySession* create(ExecutionContext*, blink::WebContentDecryptionModule*, MediaKeys*); |