Change setTargetValueAtTime() to setTargetAtTime()
authorcrogers@google.com <crogers@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Oct 2012 22:11:31 +0000 (22:11 +0000)
committercrogers@google.com <crogers@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Oct 2012 22:11:31 +0000 (22:11 +0000)
commit9b6732a41a513c9b78d2dc8f3c39401938719ac5
tree8269b444f24b354fc31e9890f801991dbb50efc2
parent7fa15d8baf889f8f497c55da788adb2d231c26c4
Change setTargetValueAtTime() to setTargetAtTime()
https://bugs.webkit.org/show_bug.cgi?id=100153

Reviewed by Adam Barth.

Source/WebCore:

The AudioParam method name has changed due to Web Audio API spec review.
Keep legacy support for the old name.

Test: webaudio/audioparam-setTargetAtTime.html

* Modules/webaudio/AudioParam.h:
(WebCore::AudioParam::setTargetAtTime):
* Modules/webaudio/AudioParam.idl:
* Modules/webaudio/AudioParamTimeline.cpp:
(WebCore::AudioParamTimeline::setTargetAtTime):
(WebCore::AudioParamTimeline::valuesForTimeRangeImpl):
* Modules/webaudio/AudioParamTimeline.h:
(AudioParamTimeline):

LayoutTests:

* webaudio/audioparam-setTargetAtTime-expected.txt: Renamed from LayoutTests/webaudio/audioparam-setTargetValueAtTime-expected.txt.
* webaudio/audioparam-setTargetAtTime.html: Renamed from LayoutTests/webaudio/audioparam-setTargetValueAtTime.html.
* webaudio/resources/audioparam-testing.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@132274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/webaudio/audioparam-setTargetAtTime-expected.txt [moved from LayoutTests/webaudio/audioparam-setTargetValueAtTime-expected.txt with 70% similarity]
LayoutTests/webaudio/audioparam-setTargetAtTime.html [moved from LayoutTests/webaudio/audioparam-setTargetValueAtTime.html with 83% similarity]
LayoutTests/webaudio/resources/audioparam-testing.js
Source/WebCore/ChangeLog
Source/WebCore/Modules/webaudio/AudioParam.h
Source/WebCore/Modules/webaudio/AudioParam.idl
Source/WebCore/Modules/webaudio/AudioParamTimeline.cpp
Source/WebCore/Modules/webaudio/AudioParamTimeline.h