Index: Source/modules/webmidi/MIDIInput.h |
diff --git a/Source/modules/webmidi/MIDIInput.h b/Source/modules/webmidi/MIDIInput.h |
index 635f4cb0368180d585a6fc7a264862f66d5fe60a..83e38cebbcd7f9a471fc892379d96ecdcd5c09a8 100644 |
--- a/Source/modules/webmidi/MIDIInput.h |
+++ b/Source/modules/webmidi/MIDIInput.h |
@@ -45,7 +45,8 @@ public: |
static MIDIInput* create(MIDIAccess*, const String& id, const String& manufacturer, const String& name, const String& version, MIDIAccessor::MIDIPortState); |
virtual ~MIDIInput() { } |
- DEFINE_ATTRIBUTE_EVENT_LISTENER(midimessage); |
+ EventListener* onmidimessage(); |
+ void setOnmidimessage(PassRefPtr<EventListener>); |
// EventTarget |
virtual const AtomicString& interfaceName() const override { return EventTargetNames::MIDIInput; } |