Index: third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp |
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp |
index b90614a25734ef63c61cb18627bfa301f47f98f1..abfca11a69357350b68236af5dea6eba554f3657 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp |
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp |
@@ -40,7 +40,8 @@ namespace blink { |
using PortState = MIDIAccessor::MIDIPortState; |
MIDIPort::MIDIPort(MIDIAccess* access, const String& id, const String& manufacturer, const String& name, TypeCode type, const String& version, PortState state) |
- : ActiveDOMObject(access->getExecutionContext()) |
+ : ActiveScriptWrappable(this) |
+ , ActiveDOMObject(access->getExecutionContext()) |
, m_id(id) |
, m_manufacturer(manufacturer) |
, m_name(name) |