| Index: Source/modules/webmidi/MIDIAccess.h
|
| diff --git a/Source/modules/webmidi/MIDIAccess.h b/Source/modules/webmidi/MIDIAccess.h
|
| index f2c262ae9b38fce62aa7461b72debb848824f4db..8c65ceab865ec5919f1406f53abf4d4734192bab 100644
|
| --- a/Source/modules/webmidi/MIDIAccess.h
|
| +++ b/Source/modules/webmidi/MIDIAccess.h
|
| @@ -52,7 +52,8 @@ namespace WebCore {
|
| class ExecutionContext;
|
|
|
| class MIDIAccess FINAL : public RefCountedWillBeRefCountedGarbageCollected<MIDIAccess>, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithInlineData, public MIDIAccessorClient {
|
| - DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<MIDIAccess>);
|
| + REFCOUNTED_EVENT_TARGET(MIDIAccess);
|
| + WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MIDIAccess);
|
| public:
|
| virtual ~MIDIAccess();
|
| // Returns a promise object that will be resolved with this MIDIAccess.
|
| @@ -84,7 +85,7 @@ public:
|
| // |timeStampInMilliseconds| is in the same time coordinate system as performance.now().
|
| void sendMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStampInMilliseconds);
|
|
|
| - void trace(Visitor*);
|
| + virtual void trace(Visitor*) OVERRIDE;
|
|
|
| private:
|
| class PostAction;
|
|
|