| Index: Source/modules/webmidi/MIDIController.h
|
| diff --git a/Source/modules/webmidi/MIDIController.h b/Source/modules/webmidi/MIDIController.h
|
| index 995f5c7bfe5ee397bb66382ed86be0bb5ee9933c..3d3a7a32ff9324913fd93a5216d32f32f1290254 100644
|
| --- a/Source/modules/webmidi/MIDIController.h
|
| +++ b/Source/modules/webmidi/MIDIController.h
|
| @@ -39,16 +39,17 @@ namespace WebCore {
|
| class MIDIAccess;
|
| class MIDIClient;
|
|
|
| -class MIDIController FINAL : public Supplement<Page> {
|
| +class MIDIController FINAL : public NoBaseWillBeGarbageCollectedFinalized<MIDIController>, public WillBeHeapSupplement<Page> {
|
| + WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MIDIController);
|
| public:
|
| virtual ~MIDIController();
|
|
|
| void requestSysexPermission(PassRefPtrWillBeRawPtr<MIDIAccess>);
|
| void cancelSysexPermissionRequest(MIDIAccess*);
|
|
|
| - static PassOwnPtr<MIDIController> create(PassOwnPtr<MIDIClient>);
|
| + static PassOwnPtrWillBeRawPtr<MIDIController> create(PassOwnPtr<MIDIClient>);
|
| static const char* supplementName();
|
| - static MIDIController* from(Page* page) { return static_cast<MIDIController*>(Supplement<Page>::from(page, supplementName())); }
|
| + static MIDIController* from(Page* page) { return static_cast<MIDIController*>(WillBeHeapSupplement<Page>::from(page, supplementName())); }
|
|
|
| virtual void trace(Visitor*) OVERRIDE { }
|
|
|
|
|