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

Issue 2578243002: Add constructor for MediaStreamAudioDestinationNode (Closed)

Created:
4 years ago by Raymond Toy
Modified:
4 years ago
CC:
blink-reviews, chromium-reviews, hongchan, Raymond Toy
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add constructor for MediaStreamAudioDestinationNode MediaStreamAudioDestinationNode needs a constructor. This was inadvertently missed in issue 626449. Also, modified the exception type when an invalid channel count is specified. All other AudioNodes throw NotSupportedError instead of IndexSizeError. This requires updating one test. BUG=674508, 626449 TEST=constructor/mediastreamaudiodestination.html, mediastreamaudiodestinationnode.html Committed: https://crrev.com/7b308a54ce405471a43e12ea7a65952439127d17 Cr-Commit-Position: refs/heads/master@{#439833}

Patch Set 1 #

Patch Set 2 : Rebase and add Measure #

Total comments: 3

Patch Set 3 : Add use counter #

Total comments: 1

Patch Set 4 : Remove unneeded test #

Patch Set 5 : Rebase #

Messages

Total messages: 28 (17 generated)
Raymond Toy
PTAL
4 years ago (2016-12-15 22:02:44 UTC) #7
hongchan
lgtm with nit https://codereview.chromium.org/2578243002/diff/20001/third_party/WebKit/LayoutTests/webaudio/constructor/mediastreamaudiodestination.html File third_party/WebKit/LayoutTests/webaudio/constructor/mediastreamaudiodestination.html (right): https://codereview.chromium.org/2578243002/diff/20001/third_party/WebKit/LayoutTests/webaudio/constructor/mediastreamaudiodestination.html#newcode8 third_party/WebKit/LayoutTests/webaudio/constructor/mediastreamaudiodestination.html:8: <script src="../resources/audio-testing.js"></script> Why do we need ...
4 years ago (2016-12-19 18:29:55 UTC) #12
Raymond Toy
https://codereview.chromium.org/2578243002/diff/20001/third_party/WebKit/LayoutTests/webaudio/constructor/mediastreamaudiodestination.html File third_party/WebKit/LayoutTests/webaudio/constructor/mediastreamaudiodestination.html (right): https://codereview.chromium.org/2578243002/diff/20001/third_party/WebKit/LayoutTests/webaudio/constructor/mediastreamaudiodestination.html#newcode8 third_party/WebKit/LayoutTests/webaudio/constructor/mediastreamaudiodestination.html:8: <script src="../resources/audio-testing.js"></script> On 2016/12/19 18:29:55, hongchan wrote: > Why ...
4 years ago (2016-12-19 18:33:39 UTC) #13
Raymond Toy
tkent: PTAL as API owner. We missed this constructor when adding all the (other) constructors ...
4 years ago (2016-12-19 18:49:47 UTC) #15
tkent
lgtm https://codereview.chromium.org/2578243002/diff/40001/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp File third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp (right): https://codereview.chromium.org/2578243002/diff/40001/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp#newcode173 third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp:173: if (!node) |new| operator never returns nullptr. This ...
4 years ago (2016-12-19 23:35:02 UTC) #16
hongchan
https://codereview.chromium.org/2578243002/diff/20001/third_party/WebKit/LayoutTests/webaudio/constructor/mediastreamaudiodestination.html File third_party/WebKit/LayoutTests/webaudio/constructor/mediastreamaudiodestination.html (right): https://codereview.chromium.org/2578243002/diff/20001/third_party/WebKit/LayoutTests/webaudio/constructor/mediastreamaudiodestination.html#newcode8 third_party/WebKit/LayoutTests/webaudio/constructor/mediastreamaudiodestination.html:8: <script src="../resources/audio-testing.js"></script> On 2016/12/19 18:33:38, Raymond Toy wrote: > ...
4 years ago (2016-12-19 23:40:37 UTC) #17
Raymond Toy
mkwst@chromium.org: Please review changes in histograms.xml
4 years ago (2016-12-19 23:44:38 UTC) #19
haraken
On 2016/12/19 23:44:38, Raymond Toy wrote: > mailto:mkwst@chromium.org: Please review changes in > > histograms.xml ...
4 years ago (2016-12-20 00:07:01 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2578243002/80001
4 years ago (2016-12-20 15:13:57 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-20 17:24:21 UTC) #26
commit-bot: I haz the power
4 years ago (2016-12-20 17:26:39 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7b308a54ce405471a43e12ea7a65952439127d17
Cr-Commit-Position: refs/heads/master@{#439833}

Powered by Google App Engine
This is Rietveld 408576698