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

Unified Diff: content/browser/media/capture/web_contents_audio_input_stream.cc

Issue 1074963003: Clean up potentially leaky use of base::DeletePointer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed another probleb Created 5 years, 8 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: content/browser/media/capture/web_contents_audio_input_stream.cc
diff --git a/content/browser/media/capture/web_contents_audio_input_stream.cc b/content/browser/media/capture/web_contents_audio_input_stream.cc
index 629d1061f9f86f4763f7ecb6b514b64f0880995c..f8a3645edb0d276e7f3268bfc2a2f6ed486d4284 100644
--- a/content/browser/media/capture/web_contents_audio_input_stream.cc
+++ b/content/browser/media/capture/web_contents_audio_input_stream.cc
@@ -338,9 +338,7 @@ WebContentsAudioInputStream* WebContentsAudioInputStream::Create(
render_process_id, main_render_frame_id,
audio_mirroring_manager,
new WebContentsTracker(false),
- new media::VirtualAudioInputStream(
- params, worker_task_runner,
- media::VirtualAudioInputStream::AfterCloseCallback()));
+ new media::VirtualAudioInputStream(params, worker_task_runner, false));
}
WebContentsAudioInputStream::WebContentsAudioInputStream(

Powered by Google App Engine
This is Rietveld 408576698