Index: content/browser/media/midi_host.cc |
diff --git a/content/browser/media/midi_host.cc b/content/browser/media/midi_host.cc |
index 1f02d203ea1624e4a744aeea7193cb543f1c60c3..73d131c31a655b142b217640a75f846c42adfcf4 100644 |
--- a/content/browser/media/midi_host.cc |
+++ b/content/browser/media/midi_host.cc |
@@ -44,6 +44,7 @@ bool IsSystemRealTimeMessage(uint8_t data) { |
using midi::kSysExByte; |
using midi::kEndOfSysExByte; |
+using midi::mojom::Result; |
MidiHost::MidiHost(int renderer_process_id, |
midi::MidiManager* midi_manager) |
@@ -141,9 +142,9 @@ void MidiHost::OnEndSession() { |
midi_manager_->EndSession(this); |
} |
-void MidiHost::CompleteStartSession(midi::Result result) { |
+void MidiHost::CompleteStartSession(Result result) { |
DCHECK(is_session_requested_); |
- if (result == midi::Result::OK) { |
+ if (result == Result::OK) { |
// ChildSecurityPolicy is set just before OnStartSession by |
// MidiDispatcherHost. So we can safely cache the policy. |
has_sys_ex_permission_ = ChildProcessSecurityPolicyImpl::GetInstance()-> |