| Index: components/test_runner/mock_web_midi_accessor.cc
|
| diff --git a/components/test_runner/mock_web_midi_accessor.cc b/components/test_runner/mock_web_midi_accessor.cc
|
| index 45dc5310a63f75456de0d7d1f36ac788df7faf97..4d31dd77f0a0bf29b8a3518f4fd8f4242158d06c 100644
|
| --- a/components/test_runner/mock_web_midi_accessor.cc
|
| +++ b/components/test_runner/mock_web_midi_accessor.cc
|
| @@ -42,8 +42,8 @@ void MockWebMIDIAccessor::startSession() {
|
| interfaces_->GetTestRunner()->midiAccessorResult()));
|
| }
|
|
|
| -void MockWebMIDIAccessor::ReportStartedSession(bool success) {
|
| - client_->didStartSession(success, "InvalidStateError", "");
|
| +void MockWebMIDIAccessor::ReportStartedSession(media::midi::Result result) {
|
| + client_->didStartSession(result);
|
| }
|
|
|
| void MockWebMIDIAccessor::sendMIDIData(unsigned port_index,
|
|
|