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

Issue 2223613002: WaveShaperNode should copy its curve. (Closed)

Created:
4 years, 4 months ago by Raymond Toy
Modified:
4 years, 4 months ago
Reviewers:
hongchan
CC:
Raymond Toy, blink-reviews, chromium-reviews, haraken, hongchan
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WaveShaperNode should copy its curve. When setting the curve attribute for a WaveShaperNode, changes to the curve should NOT modify the output of the node. Hence, copy the curve data to an internal buffer so that changes won't be propagated. BUG=635052 TEST=waveshaper-copy-curve.html Committed: https://crrev.com/7b93c871846de69e79de9c0ffb9fd6a7f3802be7 Cr-Commit-Position: refs/heads/master@{#411658}

Patch Set 1 #

Patch Set 2 : Handle null assignments to curve. #

Patch Set 3 : Use Vector<float> #

Patch Set 4 : Add tests for setting attributes and verifying them. #

Total comments: 7

Patch Set 5 : Make beEqualTo() support null value; remove beNull() #

Total comments: 6

Patch Set 6 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -9 lines) Patch
M third_party/WebKit/LayoutTests/webaudio/resources/audio-testing.js View 1 2 3 4 5 2 chunks +21 lines, -3 lines 0 comments Download
A third_party/WebKit/LayoutTests/webaudio/waveshaper-copy-curve.html View 1 2 3 4 5 1 chunk +87 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/webaudio/waveshaper-simple.html View 1 2 3 4 5 1 chunk +48 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/WaveShaperNode.cpp View 1 2 1 chunk +10 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/WaveShaperProcessor.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/WaveShaperProcessor.cpp View 1 2 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 26 (16 generated)
Raymond Toy
https://codereview.chromium.org/2223613002/diff/50001/third_party/WebKit/LayoutTests/webaudio/resources/audio-testing.js File third_party/WebKit/LayoutTests/webaudio/resources/audio-testing.js (right): https://codereview.chromium.org/2223613002/diff/50001/third_party/WebKit/LayoutTests/webaudio/resources/audio-testing.js#newcode1148 third_party/WebKit/LayoutTests/webaudio/resources/audio-testing.js:1148: ShouldModel.prototype.beNull = function () { Maybe we don't want ...
4 years, 4 months ago (2016-08-08 21:24:39 UTC) #12
Raymond Toy
PTAL.
4 years, 4 months ago (2016-08-10 16:58:09 UTC) #14
hongchan
Please use 'taskDone' inside of the Audit task runner. done() will trigger the method of ...
4 years, 4 months ago (2016-08-11 18:48:58 UTC) #15
Raymond Toy
https://codereview.chromium.org/2223613002/diff/50001/third_party/WebKit/LayoutTests/webaudio/waveshaper-copy-curve.html File third_party/WebKit/LayoutTests/webaudio/waveshaper-copy-curve.html (right): https://codereview.chromium.org/2223613002/diff/50001/third_party/WebKit/LayoutTests/webaudio/waveshaper-copy-curve.html#newcode7 third_party/WebKit/LayoutTests/webaudio/waveshaper-copy-curve.html:7: <script src="resources/compatibility.js"></script> On 2016/08/11 18:48:58, hoch wrote: > Let's ...
4 years, 4 months ago (2016-08-11 20:11:48 UTC) #16
hongchan
lgtm
4 years, 4 months ago (2016-08-12 01:18:05 UTC) #17
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/2223613002/90001
4 years, 4 months ago (2016-08-12 01:20:10 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/259985)
4 years, 4 months ago (2016-08-12 02:15:26 UTC) #21
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/2223613002/90001
4 years, 4 months ago (2016-08-12 15:07:50 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:90001)
4 years, 4 months ago (2016-08-12 15:36:40 UTC) #24
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 15:38:30 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7b93c871846de69e79de9c0ffb9fd6a7f3802be7
Cr-Commit-Position: refs/heads/master@{#411658}

Powered by Google App Engine
This is Rietveld 408576698