| Index: Source/modules/webmidi/MIDIMessageEvent.h
|
| diff --git a/Source/modules/webmidi/MIDIMessageEvent.h b/Source/modules/webmidi/MIDIMessageEvent.h
|
| index cfb29ea205ce8eef94c2ad6e605e57d7414259ed..40c66fd6dc63d3ed76dfc13115eea27765f2cb29 100644
|
| --- a/Source/modules/webmidi/MIDIMessageEvent.h
|
| +++ b/Source/modules/webmidi/MIDIMessageEvent.h
|
| @@ -48,19 +48,19 @@ struct MIDIMessageEventInit : public EventInit {
|
|
|
| class MIDIMessageEvent FINAL : public Event {
|
| public:
|
| - static PassRefPtr<MIDIMessageEvent> create()
|
| + static PassRefPtrWillBeRawPtr<MIDIMessageEvent> create()
|
| {
|
| - return adoptRef(new MIDIMessageEvent());
|
| + return adoptRefWillBeRefCountedGarbageCollected(new MIDIMessageEvent());
|
| }
|
|
|
| - static PassRefPtr<MIDIMessageEvent> create(double receivedTime, PassRefPtr<Uint8Array> data)
|
| + static PassRefPtrWillBeRawPtr<MIDIMessageEvent> create(double receivedTime, PassRefPtr<Uint8Array> data)
|
| {
|
| - return adoptRef(new MIDIMessageEvent(receivedTime, data));
|
| + return adoptRefWillBeRefCountedGarbageCollected(new MIDIMessageEvent(receivedTime, data));
|
| }
|
|
|
| - static PassRefPtr<MIDIMessageEvent> create(const AtomicString& type, const MIDIMessageEventInit& initializer)
|
| + static PassRefPtrWillBeRawPtr<MIDIMessageEvent> create(const AtomicString& type, const MIDIMessageEventInit& initializer)
|
| {
|
| - return adoptRef(new MIDIMessageEvent(type, initializer));
|
| + return adoptRefWillBeRefCountedGarbageCollected(new MIDIMessageEvent(type, initializer));
|
| }
|
|
|
| double receivedTime() { return m_receivedTime; }
|
|
|