Index: content/browser/renderer_host/media/audio_input_renderer_host_unittest.cc |
diff --git a/content/browser/renderer_host/media/audio_input_renderer_host_unittest.cc b/content/browser/renderer_host/media/audio_input_renderer_host_unittest.cc |
index dcc0ee8081a87abc27b3247286e35f2fad520461..425e7dae1281233b8fd865efa9f373b4bec6beee 100644 |
--- a/content/browser/renderer_host/media/audio_input_renderer_host_unittest.cc |
+++ b/content/browser/renderer_host/media/audio_input_renderer_host_unittest.cc |
@@ -167,15 +167,13 @@ class MockAudioInputController : public AudioInputController { |
AudioInputController::EventHandler* event_handler, |
media::UserInputMonitor* user_input_monitor, |
const media::AudioParameters& params, |
- StreamType type, |
- scoped_refptr<base::SingleThreadTaskRunner> file_task_runner) |
+ StreamType type) |
: AudioInputController(std::move(task_runner), |
event_handler, |
writer, |
user_input_monitor, |
params, |
- type, |
- std::move(file_task_runner)) { |
+ type) { |
GetTaskRunnerForTesting()->PostTask( |
FROM_HERE, |
base::Bind(&AudioInputController::EventHandler::OnCreated, |
@@ -239,9 +237,9 @@ class MockControllerFactory : public AudioInputController::Factory { |
media::UserInputMonitor* user_input_monitor, |
AudioInputController::StreamType type) override { |
ControllerCreated(); |
- scoped_refptr<MockController> controller = new MockController( |
- task_runner, sync_writer, audio_manager, event_handler, |
- user_input_monitor, params, type, task_runner); |
+ scoped_refptr<MockController> controller = |
+ new MockController(task_runner, sync_writer, audio_manager, |
+ event_handler, user_input_monitor, params, type); |
controller_list_.push_back(controller); |
return controller.get(); |
} |