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

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

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
« no previous file with comments | « no previous file | chrome/browser/renderer_host/audio_renderer_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/audio_renderer_host.h
diff --git a/chrome/browser/renderer_host/audio_renderer_host.h b/chrome/browser/renderer_host/audio_renderer_host.h
index 8128d61f545c88205ff9d17fcb9b54285092aae8..df2c14e73abd92c43519da470cdcc3bb5ad8a33f 100644
--- a/chrome/browser/renderer_host/audio_renderer_host.h
+++ b/chrome/browser/renderer_host/audio_renderer_host.h
@@ -32,9 +32,10 @@
// which may result in self-destruction.
//
// TODO(hclam): Have these things done before having real implementations:
-// 1. Make sure this class has greater or equal lifetime to
+// 1. Make AudioManager a singleton and construct/destruct it properly.
+// 2. Make sure this class has greater or equal lifetime to
// IPC:Message::Sender, essentially ResourceMessageFilter.
-// 2. Listen to destruction event of the browser and do cleanup in case this
+// 3. Listen to destruction event of the browser and do cleanup in case this
// class is not destructed nicely during browser close.
#ifndef CHROME_BROWSER_RENDERER_HOST_AUDIO_RENDERER_HOST_H_
« no previous file with comments | « no previous file | chrome/browser/renderer_host/audio_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698