Description[WebMIDI] MIDIManager::create should return non-null object.
enable-web-midi switch can be added for unsupported platforms, for development purpose.
In such case, returning NULL in MIDIManager::create causes a crash.
This CL prevents the crash.
BUG=303596
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242028
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : #
Messages
Total messages: 8 (0 generated)
|