Index: third_party/WebKit/Source/core/html/HTMLMediaElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h |
index 2a0ec2e9f3a4f7dae2749d73f9c5738d08013f5e..ea2cb16d1a06de5d873df4e92533aaf16f01eee4 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h |
@@ -26,6 +26,7 @@ |
#ifndef HTMLMediaElement_h |
#define HTMLMediaElement_h |
+#include "bindings/core/v8/ActiveScriptWrappable.h" |
#include "bindings/core/v8/ScriptPromise.h" |
#include "core/CoreExport.h" |
#include "core/dom/ActiveDOMObject.h" |
@@ -64,7 +65,7 @@ class WebAudioSourceProvider; |
class WebInbandTextTrack; |
class WebLayer; |
-class CORE_EXPORT HTMLMediaElement : public HTMLElement, public WillBeHeapSupplementable<HTMLMediaElement>, public ActiveDOMObject, private WebMediaPlayerClient { |
+class CORE_EXPORT HTMLMediaElement : public HTMLElement, public WillBeHeapSupplementable<HTMLMediaElement>, public ActiveScriptWrappable, public ActiveDOMObject, private WebMediaPlayerClient { |
DEFINE_WRAPPERTYPEINFO(); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLMediaElement); |
WILL_BE_USING_PRE_FINALIZER(HTMLMediaElement, dispose); |
@@ -231,7 +232,7 @@ public: |
void sourceWasRemoved(HTMLSourceElement*); |
void sourceWasAdded(HTMLSourceElement*); |
- // ActiveDOMObject functions. |
+ // ActiveScriptWrappable functions. |
bool hasPendingActivity() const final; |
AudioSourceProviderClient* audioSourceNode() { return m_audioSourceNode; } |