Index: third_party/WebKit/Source/modules/webmidi/MIDIInput.h |
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIInput.h b/third_party/WebKit/Source/modules/webmidi/MIDIInput.h |
index aca39608d329ab5b39ac2e0e5eefb2a07388c144..2d2e71303c939266374ceaf39ed63fbc576d2e5f 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/MIDIInput.h |
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIInput.h |
@@ -31,6 +31,7 @@ |
#ifndef MIDIInput_h |
#define MIDIInput_h |
+#include "media/midi/midi_service.mojom-blink.h" |
#include "modules/EventTargetModules.h" |
#include "modules/webmidi/MIDIAccessor.h" |
#include "modules/webmidi/MIDIPort.h" |
@@ -48,7 +49,7 @@ class MIDIInput final : public MIDIPort { |
const String& manufacturer, |
const String& name, |
const String& version, |
- MIDIAccessor::MIDIPortState); |
+ midi::mojom::PortState); |
~MIDIInput() override {} |
EventListener* onmidimessage(); |
@@ -78,7 +79,7 @@ class MIDIInput final : public MIDIPort { |
const String& manufacturer, |
const String& name, |
const String& version, |
- MIDIAccessor::MIDIPortState); |
+ midi::mojom::PortState); |
}; |
} // namespace blink |