Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1312)

Unified Diff: Source/modules/webmidi/MIDIInput.h

Issue 1051903002: Web MIDI: implement implicit open() on send() and setOnmidimessage() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/webmidi/MIDIInput.h
diff --git a/Source/modules/webmidi/MIDIInput.h b/Source/modules/webmidi/MIDIInput.h
index 635f4cb0368180d585a6fc7a264862f66d5fe60a..6ff64e872febdb8a608053ab343ebe534b9af59f 100644
--- a/Source/modules/webmidi/MIDIInput.h
+++ b/Source/modules/webmidi/MIDIInput.h
@@ -45,7 +45,7 @@ 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);
+ DECLARE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(, midimessage);
Takashi Toyoshima 2015/04/01 16:32:34 It looks there were no users of this macro, and I'
// EventTarget
virtual const AtomicString& interfaceName() const override { return EventTargetNames::MIDIInput; }

Powered by Google App Engine
This is Rietveld 408576698