| Index: third_party/WebKit/Source/modules/webmidi/MIDIPort.h
|
| diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIPort.h b/third_party/WebKit/Source/modules/webmidi/MIDIPort.h
|
| index 78902feafdf76f397c32565e2a637b9142deb324..ee3c88b0ec62adf37328ad46c4bd055493f66c7c 100644
|
| --- a/third_party/WebKit/Source/modules/webmidi/MIDIPort.h
|
| +++ b/third_party/WebKit/Source/modules/webmidi/MIDIPort.h
|
| @@ -34,8 +34,8 @@
|
| #include "bindings/core/v8/ActiveScriptWrappable.h"
|
| #include "bindings/core/v8/ScriptPromise.h"
|
| #include "bindings/core/v8/TraceWrapperMember.h"
|
| -#include "core/dom/ActiveDOMObject.h"
|
| #include "core/dom/ExceptionCode.h"
|
| +#include "core/dom/SuspendableObject.h"
|
| #include "media/midi/midi_service.mojom-blink.h"
|
| #include "modules/EventTargetModules.h"
|
| #include "modules/webmidi/MIDIAccessor.h"
|
| @@ -47,7 +47,7 @@ class MIDIAccess;
|
|
|
| class MIDIPort : public EventTargetWithInlineData,
|
| public ActiveScriptWrappable,
|
| - public ActiveDOMObject {
|
| + public SuspendableObject {
|
| DEFINE_WRAPPERTYPEINFO();
|
| USING_GARBAGE_COLLECTED_MIXIN(MIDIPort);
|
|
|
| @@ -93,7 +93,7 @@ class MIDIPort : public EventTargetWithInlineData,
|
| // ScriptWrappable
|
| bool hasPendingActivity() const final;
|
|
|
| - // ActiveDOMObject
|
| + // SuspendableObject
|
| void contextDestroyed() override;
|
|
|
| protected:
|
|
|