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

Unified Diff: content/renderer/media/audio_device_factory.cc

Issue 1142063003: content/child: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix. Created 5 years, 7 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/renderer/media/audio_device_factory.cc
diff --git a/content/renderer/media/audio_device_factory.cc b/content/renderer/media/audio_device_factory.cc
index 6d0dd1db021f43cac1cdc886195d3f0fda88d360..0cd9d4cac97eb4fb61bb8de0862626eb067b0ed5 100644
--- a/content/renderer/media/audio_device_factory.cc
+++ b/content/renderer/media/audio_device_factory.cc
@@ -27,7 +27,7 @@ scoped_refptr<media::AudioOutputDevice> AudioDeviceFactory::NewOutputDevice(
AudioMessageFilter* const filter = AudioMessageFilter::Get();
return new media::AudioOutputDevice(
- filter->CreateAudioOutputIPC(render_frame_id), filter->io_message_loop());
+ filter->CreateAudioOutputIPC(render_frame_id), filter->io_task_runner());
}
// static
@@ -42,7 +42,7 @@ scoped_refptr<media::AudioInputDevice> AudioDeviceFactory::NewInputDevice(
AudioInputMessageFilter* const filter = AudioInputMessageFilter::Get();
return new media::AudioInputDevice(
- filter->CreateAudioInputIPC(render_frame_id), filter->io_message_loop());
+ filter->CreateAudioInputIPC(render_frame_id), filter->io_task_runner());
}
AudioDeviceFactory::AudioDeviceFactory() {
« no previous file with comments | « content/renderer/media/aec_dump_message_filter.cc ('k') | content/renderer/media/audio_input_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698