Index: Source/modules/webmidi/MIDIAccess.h |
diff --git a/Source/modules/webmidi/MIDIAccess.h b/Source/modules/webmidi/MIDIAccess.h |
index 1414f708168c2d2a3c95c3f534e9e26ca9a22063..812086191e3025bd0328f9e8fc741cbdddcfc6ec 100644 |
--- a/Source/modules/webmidi/MIDIAccess.h |
+++ b/Source/modules/webmidi/MIDIAccess.h |
@@ -47,7 +47,7 @@ namespace WebCore { |
class ScriptExecutionContext; |
class MIDIAccessPromise; |
-class MIDIAccess : public RefCounted<MIDIAccess>, public ScriptWrappable, public ActiveDOMObject, public EventTarget, public MIDIAccessorClient { |
+class MIDIAccess : public RefCounted<MIDIAccess>, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithInlineData, public MIDIAccessorClient { |
public: |
virtual ~MIDIAccess(); |
static PassRefPtr<MIDIAccess> create(ScriptExecutionContext*, MIDIAccessPromise*); |
@@ -90,12 +90,9 @@ private: |
// EventTarget |
virtual void refEventTarget() OVERRIDE { ref(); } |
virtual void derefEventTarget() OVERRIDE { deref(); } |
- virtual EventTargetData* eventTargetData() OVERRIDE { return &m_eventTargetData; } |
- virtual EventTargetData* ensureEventTargetData() OVERRIDE { return &m_eventTargetData; } |
MIDIInputVector m_inputs; |
MIDIOutputVector m_outputs; |
- EventTargetData m_eventTargetData; |
MIDIAccessPromise* m_promise; |
OwnPtr<MIDIAccessor> m_accessor; |