Regression(r113769): Crash in AudioNodeOutput::disconnectAllParams.
authorinferno@chromium.org <inferno@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 May 2012 03:42:29 +0000 (03:42 +0000)
committerinferno@chromium.org <inferno@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 May 2012 03:42:29 +0000 (03:42 +0000)
commit3c1f4e33b574ddf622f43e4fe00f756e720d8f9b
tree599678c3ddbd885d0468a3b38fa607eb2ea54503
parent9d6268335d4045f048fdb6a1a917bf2efb9f7f26
Regression(r113769): Crash in AudioNodeOutput::disconnectAllParams.
https://bugs.webkit.org/show_bug.cgi?id=85196

Reviewed by Chris Rogers.

RefPtr the AudioParam hashset in AudioNodeOutput to prevent accessing
destroyed entries.

No new tests. Unable to reproduce it in DRT.

* Modules/webaudio/AudioNodeOutput.cpp:
(WebCore::AudioNodeOutput::disconnectAllParams):
* Modules/webaudio/AudioNodeOutput.h:
(AudioNodeOutput):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@116065 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/Modules/webaudio/AudioNodeOutput.cpp
Source/WebCore/Modules/webaudio/AudioNodeOutput.h