| Index: media/audio/test_audio_input_controller_factory.cc
|
| diff --git a/media/audio/test_audio_input_controller_factory.cc b/media/audio/test_audio_input_controller_factory.cc
|
| index 04ab11c84a2cedfa4f7c5475e73a1584e7ea238a..c2f5ef8caf82ac02796ddad75af9fa1f9e67d43f 100644
|
| --- a/media/audio/test_audio_input_controller_factory.cc
|
| +++ b/media/audio/test_audio_input_controller_factory.cc
|
| @@ -18,15 +18,15 @@ TestAudioInputController::TestAudioInputController(
|
| message_loop_ = audio_manager->GetMessageLoop();
|
| }
|
|
|
| +void TestAudioInputController::Close(const base::Closure& closed_task) {
|
| + message_loop_->PostTask(FROM_HERE, closed_task);
|
| +}
|
| +
|
| TestAudioInputController::~TestAudioInputController() {
|
| // Inform the factory so that it allows creating new instances in future.
|
| factory_->OnTestAudioInputControllerDestroyed(this);
|
| }
|
|
|
| -void TestAudioInputController::Close(const base::Closure& closed_task) {
|
| - message_loop_->PostTask(FROM_HERE, closed_task);
|
| -}
|
| -
|
| TestAudioInputControllerFactory::TestAudioInputControllerFactory()
|
| : controller_(NULL) {
|
| }
|
|
|