Index: content/shell/renderer/test_runner/mock_web_midi_accessor.cc |
diff --git a/content/shell/renderer/test_runner/mock_web_midi_accessor.cc b/content/shell/renderer/test_runner/mock_web_midi_accessor.cc |
index c1300193965f6248964a178dde4daf53a7d3e3d7..28ac74f89f858baaba978760d124a2acfc2b4a0e 100644 |
--- a/content/shell/renderer/test_runner/mock_web_midi_accessor.cc |
+++ b/content/shell/renderer/test_runner/mock_web_midi_accessor.cc |
@@ -46,14 +46,17 @@ MockWebMIDIAccessor::~MockWebMIDIAccessor() { |
void MockWebMIDIAccessor::startSession() { |
// Add a mock input and output port. |
+ const bool active = true; |
client_->didAddInputPort("MockInputID", |
"MockInputManufacturer", |
"MockInputName", |
- "MockInputVersion"); |
+ "MockInputVersion", |
+ active); |
client_->didAddOutputPort("MockOutputID", |
"MockOutputManufacturer", |
"MockOutputName", |
- "MockOutputVersion"); |
+ "MockOutputVersion", |
+ active); |
interfaces_->GetDelegate()->PostTask(new DidStartSessionTask( |
this, client_, interfaces_->GetTestRunner()->midiAccessorResult())); |
} |