| Index: third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.h
|
| diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.h b/third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.h
|
| index eddccc81fc90400a48b1214ff06f815ae71fedd1..0daa1dc3de0cad34f999d90d59f954b574d5f975 100644
|
| --- a/third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.h
|
| +++ b/third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.h
|
| @@ -41,19 +41,19 @@ class MIDIConnectionEventInit;
|
| class MIDIConnectionEvent final : public Event {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<MIDIConnectionEvent> create()
|
| + static RawPtr<MIDIConnectionEvent> create()
|
| {
|
| - return adoptRefWillBeNoop(new MIDIConnectionEvent());
|
| + return new MIDIConnectionEvent();
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<MIDIConnectionEvent> create(MIDIPort* port)
|
| + static RawPtr<MIDIConnectionEvent> create(MIDIPort* port)
|
| {
|
| - return adoptRefWillBeNoop(new MIDIConnectionEvent(port));
|
| + return new MIDIConnectionEvent(port);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<MIDIConnectionEvent> create(const AtomicString& type, const MIDIConnectionEventInit& initializer)
|
| + static RawPtr<MIDIConnectionEvent> create(const AtomicString& type, const MIDIConnectionEventInit& initializer)
|
| {
|
| - return adoptRefWillBeNoop(new MIDIConnectionEvent(type, initializer));
|
| + return new MIDIConnectionEvent(type, initializer);
|
| }
|
|
|
| MIDIPort* port() { return m_port; }
|
| @@ -72,7 +72,7 @@ private:
|
|
|
| MIDIConnectionEvent(const AtomicString&, const MIDIConnectionEventInit&);
|
|
|
| - PersistentWillBeMember<MIDIPort> m_port;
|
| + Member<MIDIPort> m_port;
|
| };
|
|
|
| } // namespace blink
|
|
|