AudioPannerNode::setPanningModel() does not update m_panningModel properly
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Jan 2012 03:11:43 +0000 (03:11 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Jan 2012 03:11:43 +0000 (03:11 +0000)
commit5622ea3354f8392a93b4f0731a4f08f6a59704a5
treed84a6bfa618539ab895fc0cd048b2426d25e807e
parentb76f18d6d279ad7e1ffc112a4a7f631408003ea8
AudioPannerNode::setPanningModel() does not update m_panningModel properly
https://bugs.webkit.org/show_bug.cgi?id=66830

Patch by Raymond Toy <rtoy@google.com> on 2012-01-27
Reviewed by Kenneth Russell.

Source/WebCore:

Test: webaudio/panner-set-model.html

* webaudio/AudioPannerNode.cpp:
(WebCore::AudioPannerNode::setPanningModel):  Update
m_panningModel appropriately.  Also silently do nothing if the
model is invalid.

LayoutTests:

* webaudio/panner-set-model-expected.txt: Added.
* webaudio/panner-set-model.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@106174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/webaudio/panner-set-model-expected.txt [new file with mode: 0644]
LayoutTests/webaudio/panner-set-model.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/webaudio/AudioPannerNode.cpp