| Index: third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h
|
| diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h
|
| index 871f3246e76e1ff65acc44ae0dc4e8615a32cb13..a212ce6cd9560e1847c90177ab54d382a4e4dc66 100644
|
| --- a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h
|
| +++ b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h
|
| @@ -41,19 +41,19 @@ class MIDIMessageEventInit;
|
| class MIDIMessageEvent final : public Event {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<MIDIMessageEvent> create()
|
| + static RawPtr<MIDIMessageEvent> create()
|
| {
|
| - return adoptRefWillBeNoop(new MIDIMessageEvent());
|
| + return new MIDIMessageEvent();
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<MIDIMessageEvent> create(double receivedTime, PassRefPtr<DOMUint8Array> data)
|
| + static RawPtr<MIDIMessageEvent> create(double receivedTime, PassRefPtr<DOMUint8Array> data)
|
| {
|
| - return adoptRefWillBeNoop(new MIDIMessageEvent(receivedTime, data));
|
| + return new MIDIMessageEvent(receivedTime, data);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<MIDIMessageEvent> create(const AtomicString& type, const MIDIMessageEventInit& initializer)
|
| + static RawPtr<MIDIMessageEvent> create(const AtomicString& type, const MIDIMessageEventInit& initializer)
|
| {
|
| - return adoptRefWillBeNoop(new MIDIMessageEvent(type, initializer));
|
| + return new MIDIMessageEvent(type, initializer);
|
| }
|
|
|
| double receivedTime() { return m_receivedTime; }
|
|
|