Index: Source/modules/webmidi/NavigatorWebMIDI.h |
diff --git a/Source/modules/webmidi/NavigatorWebMIDI.h b/Source/modules/webmidi/NavigatorWebMIDI.h |
index 11b7f6984d40c9b520c36f6e92b58a8975d8d582..3d7f9221f1a8f3869758911ddf56ea9f4f2ccd0b 100644 |
--- a/Source/modules/webmidi/NavigatorWebMIDI.h |
+++ b/Source/modules/webmidi/NavigatorWebMIDI.h |
@@ -32,6 +32,7 @@ |
#define NavigatorWebMIDI_h |
#include "core/frame/DOMWindowProperty.h" |
+#include "heap/Handle.h" |
#include "modules/webmidi/MIDIOptions.h" |
#include "platform/Supplementable.h" |
@@ -40,7 +41,8 @@ namespace WebCore { |
class MIDIAccessPromise; |
class Navigator; |
-class NavigatorWebMIDI FINAL : public Supplement<Navigator>, public DOMWindowProperty { |
+class NavigatorWebMIDI FINAL : public NoBaseWillBeGarbageCollectedFinalized<NavigatorWebMIDI>, public WillBeHeapSupplement<Navigator>, public DOMWindowProperty { |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorWebMIDI); |
public: |
virtual ~NavigatorWebMIDI(); |
static NavigatorWebMIDI& from(Navigator&); |
@@ -48,6 +50,8 @@ public: |
static PassRefPtrWillBeRawPtr<MIDIAccessPromise> requestMIDIAccess(Navigator&, const Dictionary&); |
PassRefPtrWillBeRawPtr<MIDIAccessPromise> requestMIDIAccess(const Dictionary&); |
+ void trace(Visitor*) { } |
+ |
private: |
NavigatorWebMIDI(LocalFrame*); |
static const char* supplementName(); |