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

Unified Diff: chrome/browser/renderer_host/audio_renderer_host.cc

Issue 21277: Fix a memory leak caused by AudioRenedererHost. (Closed)
Patch Set: todo Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/audio_renderer_host.cc
diff --git a/chrome/browser/renderer_host/audio_renderer_host.cc b/chrome/browser/renderer_host/audio_renderer_host.cc
index fd798ac665eca632cf08266099f19d41e494cf33..5c0d0f97f00c12459a922ecee65c612fc8836c2b 100644
--- a/chrome/browser/renderer_host/audio_renderer_host.cc
+++ b/chrome/browser/renderer_host/audio_renderer_host.cc
@@ -192,8 +192,8 @@ void AudioRendererHost::OnInitialized() {
// Also create the AudioManager singleton in this thread.
// TODO(hclam): figure out a better location to initialize the AudioManager
- // singleton.
- AudioManager::GetAudioManager();
+ // singleton. The following method call seems to create a memory leak.
+ // AudioManager::GetAudioManager();
}
void AudioRendererHost::OnDestroyed() {
« no previous file with comments | « chrome/browser/renderer_host/audio_renderer_host.h ('k') | chrome/browser/renderer_host/audio_renderer_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698