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

Issue 2016563002: AudioParam.setValueCurveAtTime() should copy the curve data (Closed)

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

Description

AudioParam.setValueCurveAtTime() should copy the curve data setValueCurveAtTime() should copy the curve data so that modifications of the original array don't change what setValueCurveAtTime would produce. See description of value parameter at http://webaudio.github.io/web-audio-api/#widl-AudioParam-setValueCurveAtTime-AudioParam-Float32Array-values-double-startTime-double-duration BUG=582980 TEST=audioparam-setValueCurve-copy.html Committed: https://crrev.com/7430a77312e7279e63aa9c0c3ba244b819202192 Cr-Commit-Position: refs/heads/master@{#397161}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -20 lines) Patch
A third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurve-copy.html View 1 2 3 1 chunk +97 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurve-copy-expected.txt View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h View 1 2 chunks +5 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp View 1 4 chunks +25 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Raymond Toy
PTAL
4 years, 6 months ago (2016-05-26 15:48:19 UTC) #3
Raymond Toy
On 2016/05/26 15:48:19, Raymond Toy wrote: > PTAL Ping
4 years, 6 months ago (2016-05-31 21:37:52 UTC) #4
hongchan
lgtm with nits. https://codereview.chromium.org/2016563002/diff/40001/third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurve-copy.html File third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurve-copy.html (right): https://codereview.chromium.org/2016563002/diff/40001/third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurve-copy.html#newcode36 third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurve-copy.html:36: nit: can we remove this blank ...
4 years, 6 months ago (2016-05-31 21:42:33 UTC) #5
Raymond Toy
https://codereview.chromium.org/2016563002/diff/40001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h File third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h (right): https://codereview.chromium.org/2016563002/diff/40001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h#newcode109 third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h:109: Vector<float> m_curve; On 2016/05/31 21:42:33, hoch wrote: > DId ...
4 years, 6 months ago (2016-05-31 22:20:04 UTC) #6
Raymond Toy
https://codereview.chromium.org/2016563002/diff/40001/third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurve-copy.html File third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurve-copy.html (right): https://codereview.chromium.org/2016563002/diff/40001/third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurve-copy.html#newcode36 third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurve-copy.html:36: On 2016/05/31 21:42:33, hoch wrote: > nit: can we ...
4 years, 6 months ago (2016-05-31 22:50:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016563002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016563002/60001
4 years, 6 months ago (2016-06-01 15:10:17 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-01 16:52:29 UTC) #12
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 16:54:02 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7430a77312e7279e63aa9c0c3ba244b819202192
Cr-Commit-Position: refs/heads/master@{#397161}

Powered by Google App Engine
This is Rietveld 408576698