| Index: Source/modules/encryptedmedia/MediaKeySession.cpp
|
| diff --git a/Source/modules/encryptedmedia/MediaKeySession.cpp b/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| index f001a1bceb492114d35aae97bf423e1223e55d0d..c9a6b5218dcdb9a48b0b7fe2f3473b54f2179909 100644
|
| --- a/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| +++ b/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| @@ -38,9 +38,11 @@
|
|
|
| namespace WebCore {
|
|
|
| -PassRefPtr<MediaKeySession> MediaKeySession::create(ExecutionContext* context, ContentDecryptionModule* cdm, MediaKeys* keys)
|
| +DEFINE_GC_INFO(MediaKeySession);
|
| +
|
| +PassRefPtrWillBeRawPtr<MediaKeySession> MediaKeySession::create(ExecutionContext* context, ContentDecryptionModule* cdm, MediaKeys* keys)
|
| {
|
| - return adoptRef(new MediaKeySession(context, cdm, keys));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new MediaKeySession(context, cdm, keys));
|
| }
|
|
|
| MediaKeySession::MediaKeySession(ExecutionContext* context, ContentDecryptionModule* cdm, MediaKeys* keys)
|
|
|