Index: third_party/WebKit/Source/modules/mediasource/SourceBufferList.cpp |
diff --git a/third_party/WebKit/Source/modules/mediasource/SourceBufferList.cpp b/third_party/WebKit/Source/modules/mediasource/SourceBufferList.cpp |
index 535b6941c6680754681e5cfba42feb3f667d0e31..e689f7925dbb7e863d197a893ad808516b1fd533 100644 |
--- a/third_party/WebKit/Source/modules/mediasource/SourceBufferList.cpp |
+++ b/third_party/WebKit/Source/modules/mediasource/SourceBufferList.cpp |
@@ -30,7 +30,6 @@ |
#include "modules/mediasource/SourceBufferList.h" |
-#include "core/dom/ExecutionContext.h" |
#include "core/events/GenericEventQueue.h" |
#include "modules/EventModules.h" |
#include "modules/mediasource/SourceBuffer.h" |
@@ -39,7 +38,7 @@ namespace blink { |
SourceBufferList::SourceBufferList(ExecutionContext* context, |
GenericEventQueue* asyncEventQueue) |
- : m_executionContext(context), m_asyncEventQueue(asyncEventQueue) {} |
+ : ContextClient(context), m_asyncEventQueue(asyncEventQueue) {} |
SourceBufferList::~SourceBufferList() {} |
@@ -79,15 +78,11 @@ const AtomicString& SourceBufferList::interfaceName() const { |
return EventTargetNames::SourceBufferList; |
} |
-ExecutionContext* SourceBufferList::getExecutionContext() const { |
- return m_executionContext; |
-} |
- |
DEFINE_TRACE(SourceBufferList) { |
- visitor->trace(m_executionContext); |
visitor->trace(m_asyncEventQueue); |
visitor->trace(m_list); |
EventTargetWithInlineData::trace(visitor); |
+ ContextClient::trace(visitor); |
} |
} // namespace blink |