summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/audio_renderer_host.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-13 21:38:38 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-13 21:38:38 +0000
commit166938831f72bd5215f27ad08b0cbe5330119f8b (patch)
tree12790e536e7c8b8fec32257c4a2da2e56e14ded5 /chrome/browser/renderer_host/audio_renderer_host.h
parentf6b1d3e64758a188d579cb4d0bb8fa011687ea21 (diff)
downloadchromium_src-166938831f72bd5215f27ad08b0cbe5330119f8b.zip
chromium_src-166938831f72bd5215f27ad08b0cbe5330119f8b.tar.gz
chromium_src-166938831f72bd5215f27ad08b0cbe5330119f8b.tar.bz2
Fix a memory leak in AudioRendererHost unit test
BUG=16554 TEST=AudioRendererHostTest.MockStreamDataConversation Review URL: http://codereview.chromium.org/155412 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20541 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/audio_renderer_host.h')
-rw-r--r--chrome/browser/renderer_host/audio_renderer_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/audio_renderer_host.h b/chrome/browser/renderer_host/audio_renderer_host.h
index c4be5a7..01a3545 100644
--- a/chrome/browser/renderer_host/audio_renderer_host.h
+++ b/chrome/browser/renderer_host/audio_renderer_host.h
@@ -93,7 +93,7 @@ class AudioRendererHost : public base::RefCountedThreadSafe<AudioRendererHost> {
// Destruction can happen on either UI thread or IO thread, but at destruction
// all associated sources are destroyed and streams are closed.
- ~AudioRendererHost();
+ virtual ~AudioRendererHost();
// Called from UI thread from the owner of this object to kick start
// destruction of streams in IO thread.