Chromium Code Reviews| Index: Source/modules/webmidi/NavigatorWebMIDI.h |
| diff --git a/Source/modules/webmidi/NavigatorWebMIDI.h b/Source/modules/webmidi/NavigatorWebMIDI.h |
| index 11b7f6984d40c9b520c36f6e92b58a8975d8d582..0c04c5b863cdbd5535da0896d0ee453fd44cf89b 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&); |
| + virtual void trace(Visitor*) { } |
|
haraken
2014/03/19 04:02:36
Drop virtual.
|
| + |
| private: |
| NavigatorWebMIDI(LocalFrame*); |
| static const char* supplementName(); |