Chromium Code Reviews| Index: content/renderer/media/midi_message_filter.cc |
| diff --git a/content/renderer/media/midi_message_filter.cc b/content/renderer/media/midi_message_filter.cc |
| index e6a7f8067beff37bea082b5ce503a6ef75567208..165451a50f695fc34bb7cc8d33d56d5f07a0bb7c 100644 |
| --- a/content/renderer/media/midi_message_filter.cc |
| +++ b/content/renderer/media/midi_message_filter.cc |
| @@ -121,12 +121,14 @@ void MidiMessageFilter::HandleSessionStarted( |
| if (result == media::MIDI_OK) { |
| // Add the client's input and output ports. |
| + const bool active = true; |
|
Takashi Toyoshima
2014/10/20 06:41:29
did the same fix here.
|
| for (size_t i = 0; i < inputs.size(); ++i) { |
| client->didAddInputPort( |
| base::UTF8ToUTF16(inputs[i].id), |
| base::UTF8ToUTF16(inputs[i].manufacturer), |
| base::UTF8ToUTF16(inputs[i].name), |
| - base::UTF8ToUTF16(inputs[i].version)); |
| + base::UTF8ToUTF16(inputs[i].version), |
| + active); |
| } |
| for (size_t i = 0; i < outputs.size(); ++i) { |
| @@ -134,7 +136,8 @@ void MidiMessageFilter::HandleSessionStarted( |
| base::UTF8ToUTF16(outputs[i].id), |
| base::UTF8ToUTF16(outputs[i].manufacturer), |
| base::UTF8ToUTF16(outputs[i].name), |
| - base::UTF8ToUTF16(outputs[i].version)); |
| + base::UTF8ToUTF16(outputs[i].version), |
| + active); |
| } |
| } |
| std::string error; |