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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp

Issue 2577053002: ActiveScriptWrappable: GC wrappers in detached ExecutionContexts. (Closed)
Patch Set: component build fix(msvc) Created 4 years 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: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
index 14bf0d66c11817ae41e202559876006dc5c72a14..f78b815c874b88d4388db7879d8714c1d53ee54f 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
@@ -364,7 +364,7 @@ MediaKeySession* MediaKeySession::create(
MediaKeySession::MediaKeySession(ScriptState* scriptState,
MediaKeys* mediaKeys,
WebEncryptedMediaSessionType sessionType)
- : ActiveScriptWrappable(this),
+ : ActiveScriptWrappable<MediaKeySession>(this),
SuspendableObject(scriptState->getExecutionContext()),
m_asyncEventQueue(GenericEventQueue::create(this)),
m_mediaKeys(mediaKeys),

Powered by Google App Engine
This is Rietveld 408576698