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 e67c069d7e72eee589ef37bfc0d035a769985659..9eddd9d557ebf449a4bdc206995adb2fa348cb1e 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/MIDIPort.h |
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIPort.h |
@@ -32,6 +32,7 @@ |
#define MIDIPort_h |
#include "bindings/core/v8/ScriptPromise.h" |
+#include "bindings/core/v8/V8GCRoot.h" |
#include "core/dom/ActiveDOMObject.h" |
#include "core/dom/ExceptionCode.h" |
#include "modules/EventTargetModules.h" |
@@ -42,7 +43,7 @@ namespace blink { |
class MIDIAccess; |
-class MIDIPort : public RefCountedGarbageCollectedEventTargetWithInlineData<MIDIPort>, public ActiveDOMObject { |
+class MIDIPort : public RefCountedGarbageCollectedEventTargetWithInlineData<MIDIPort>, public ActiveDOMObject, public V8GCRoot { |
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(MIDIPort); |
DEFINE_WRAPPERTYPEINFO(); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MIDIPort); |