Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Issue 108603004: [WebMIDI] MIDIManager::create should return non-null object. (Closed)

Created:
7 years ago by yhirano
Modified:
7 years ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

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 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -3 lines) Patch
M media/midi/midi_manager.h View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M media/midi/midi_manager.cc View 1 2 2 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
yhirano
7 years ago (2013-12-19 07:42:33 UTC) #1
Takashi Toyoshima
https://codereview.chromium.org/108603004/diff/20001/media/midi/midi_manager.cc File media/midi/midi_manager.cc (right): https://codereview.chromium.org/108603004/diff/20001/media/midi/midi_manager.cc#newcode15 media/midi/midi_manager.cc:15: class NullMIDIManager : public MIDIManager { How about just ...
7 years ago (2013-12-19 07:58:24 UTC) #2
yhirano
https://codereview.chromium.org/108603004/diff/20001/media/midi/midi_manager.cc File media/midi/midi_manager.cc (right): https://codereview.chromium.org/108603004/diff/20001/media/midi/midi_manager.cc#newcode15 media/midi/midi_manager.cc:15: class NullMIDIManager : public MIDIManager { On 2013/12/19 07:58:24, ...
7 years ago (2013-12-19 08:21:54 UTC) #3
Takashi Toyoshima
lgtm
7 years ago (2013-12-19 08:29:06 UTC) #4
yhirano
+dalecurtis for OWNER review.
7 years ago (2013-12-19 08:34:31 UTC) #5
DaleCurtis
lgtm
7 years ago (2013-12-19 22:05:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/108603004/40001
7 years ago (2013-12-20 00:44:27 UTC) #7
commit-bot: I haz the power
7 years ago (2013-12-20 07:27:27 UTC) #8
Message was sent while issue was closed.
Change committed as 242028

Powered by Google App Engine
This is Rietveld 408576698