Index: third_party/WebKit/Source/modules/mediasource/MediaSource.h |
diff --git a/third_party/WebKit/Source/modules/mediasource/MediaSource.h b/third_party/WebKit/Source/modules/mediasource/MediaSource.h |
index 5f06ecad7c5f0ce8c47da886b0f13ba8d10208fa..dc355175ffbdc63685fc24c03a83cc0b92d9139d 100644 |
--- a/third_party/WebKit/Source/modules/mediasource/MediaSource.h |
+++ b/third_party/WebKit/Source/modules/mediasource/MediaSource.h |
@@ -31,6 +31,7 @@ |
#ifndef MediaSource_h |
#define MediaSource_h |
+#include "bindings/core/v8/V8GCRoot.h" |
#include "core/dom/ActiveDOMObject.h" |
#include "core/events/EventTarget.h" |
#include "core/html/HTMLMediaSource.h" |
@@ -50,7 +51,8 @@ class WebSourceBuffer; |
class MediaSource final |
: public RefCountedGarbageCollectedEventTargetWithInlineData<MediaSource> |
, public HTMLMediaSource |
- , public ActiveDOMObject { |
+ , public ActiveDOMObject |
+ , public V8GCRoot { |
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(MediaSource); |
DEFINE_WRAPPERTYPEINFO(); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaSource); |