Chromium Code Reviews| Index: third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp |
| diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp |
| index 91c5d46c29f0fd82716566e5aca36c9e5b4f6749..f04d526cca79c33e34fbf37fa052985be6f89836 100644 |
| --- a/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp |
| +++ b/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp |
| @@ -65,13 +65,13 @@ void MIDIInput::setOnmidimessage(EventListener* listener) |
| setAttributeEventListener(EventTypeNames::midimessage, listener); |
| } |
| -bool MIDIInput::addEventListenerInternal(const AtomicString& eventType, EventListener* listener, const EventListenerOptions& options) |
| +void MIDIInput::addedEventListener(const AtomicString& eventType, const RegisteredEventListener& registeredListener) |
| { |
| + MIDIPort::addedEventListener(eventType, registeredListener); |
| if (eventType == EventTypeNames::midimessage) { |
| // Implicit open. See setOnmidimessage(). |
| open(); |
|
bokan
2016/05/03 15:52:47
Ditto here, this used to be called on success or f
dtapuska
2016/05/03 20:53:04
Added toyoshim@
|
| } |
| - return EventTarget::addEventListenerInternal(eventType, listener, options); |
| } |
| void MIDIInput::didReceiveMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStamp) |