Index: Source/modules/webmidi/MIDIPort.h |
diff --git a/Source/modules/webmidi/MIDIPort.h b/Source/modules/webmidi/MIDIPort.h |
index bd0b2c3483619a102e6f7610a4af76eb96f0df89..df7e87d830c7116e4831974147a525eba0088b8f 100644 |
--- a/Source/modules/webmidi/MIDIPort.h |
+++ b/Source/modules/webmidi/MIDIPort.h |
@@ -40,7 +40,7 @@ |
namespace WebCore { |
-class MIDIPort : public RefCounted<MIDIPort>, public ScriptWrappable, public ActiveDOMObject, public EventTarget { |
+class MIDIPort : public RefCounted<MIDIPort>, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithInlineData { |
public: |
enum MIDIPortTypeCode { |
MIDIPortTypeInput, |
@@ -75,15 +75,12 @@ 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; } |
String m_id; |
String m_manufacturer; |
String m_name; |
MIDIPortTypeCode m_type; |
String m_version; |
- EventTargetData m_eventTargetData; |
}; |
typedef Vector<RefPtr<MIDIPort> > MIDIPortVector; |