Index: media/audio/mac/audio_low_latency_input_mac_unittest.cc |
diff --git a/media/audio/mac/audio_low_latency_input_mac_unittest.cc b/media/audio/mac/audio_low_latency_input_mac_unittest.cc |
index 38e0dbd849a9bfe7ae80290a28e09cbcd066c408..d10bc346300fbe0fb01e6b98fd86ac1ddf49e9c8 100644 |
--- a/media/audio/mac/audio_low_latency_input_mac_unittest.cc |
+++ b/media/audio/mac/audio_low_latency_input_mac_unittest.cc |
@@ -9,6 +9,7 @@ |
#include "base/environment.h" |
#include "base/message_loop/message_loop.h" |
#include "base/run_loop.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/test/test_timeouts.h" |
#include "base/threading/platform_thread.h" |
#include "media/audio/audio_device_description.h" |
@@ -30,7 +31,7 @@ namespace media { |
ACTION_P4(CheckCountAndPostQuitTask, count, limit, loop, closure) { |
if (++*count >= limit) { |
- loop->PostTask(FROM_HERE, closure); |
+ loop->task_runner()->PostTask(FROM_HERE, closure); |
} |
} |