Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/modules/mediasource/SourceBuffer.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.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp
diff --git a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp
index 6979fa7157f6ae7603d66874732163b9b24b8885..c5f66ada542190ae099e6e7a8d9b09480ba63cf9 100644
--- a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp
+++ b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp
@@ -116,7 +116,7 @@ SourceBuffer* SourceBuffer::create(
SourceBuffer::SourceBuffer(std::unique_ptr<WebSourceBuffer> webSourceBuffer,
MediaSource* source,
GenericEventQueue* asyncEventQueue)
- : ActiveScriptWrappable(this),
+ : ActiveScriptWrappable<SourceBuffer>(this),
SuspendableObject(source->getExecutionContext()),
m_webSourceBuffer(std::move(webSourceBuffer)),
m_source(source),

Powered by Google App Engine