| 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 d6152938e8013853095bf9166fe87d9db293f2ba..1a51b251a9ca5fa2d71d4235ebf9ce41dd3b0226 100644
|
| --- a/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp
|
| +++ b/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp
|
| @@ -56,7 +56,7 @@ EventListener* MIDIInput::onmidimessage()
|
| return getAttributeEventListener(EventTypeNames::midimessage);
|
| }
|
|
|
| -void MIDIInput::setOnmidimessage(PassRefPtrWillBeRawPtr<EventListener> listener)
|
| +void MIDIInput::setOnmidimessage(RawPtr<EventListener> listener)
|
| {
|
| // Implicit open. It does nothing if the port is already opened.
|
| // See http://www.w3.org/TR/webmidi/#widl-MIDIPort-open-Promise-MIDIPort
|
| @@ -65,7 +65,7 @@ void MIDIInput::setOnmidimessage(PassRefPtrWillBeRawPtr<EventListener> listener)
|
| setAttributeEventListener(EventTypeNames::midimessage, listener);
|
| }
|
|
|
| -bool MIDIInput::addEventListenerInternal(const AtomicString& eventType, PassRefPtrWillBeRawPtr<EventListener> listener, const EventListenerOptions& options)
|
| +bool MIDIInput::addEventListenerInternal(const AtomicString& eventType, RawPtr<EventListener> listener, const EventListenerOptions& options)
|
| {
|
| if (eventType == EventTypeNames::midimessage) {
|
| // Implicit open. See setOnmidimessage().
|
|
|