Index: media/video/capture/mac/video_capture_device_factory_mac_unittest.mm |
diff --git a/media/video/capture/mac/video_capture_device_factory_mac_unittest.mm b/media/video/capture/mac/video_capture_device_factory_mac_unittest.mm |
index ee7b8803c923e4d99d07161915679e3ef4cc0e86..26c9222b0f79c689e7cc87bbd08a6f0f90eba052 100644 |
--- a/media/video/capture/mac/video_capture_device_factory_mac_unittest.mm |
+++ b/media/video/capture/mac/video_capture_device_factory_mac_unittest.mm |
@@ -4,6 +4,7 @@ |
#include "base/command_line.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/thread_task_runner_handle.h" |
#import "media/base/mac/avfoundation_glue.h" |
#include "media/base/media_switches.h" |
#include "media/video/capture/mac/video_capture_device_factory_mac.h" |
@@ -28,7 +29,7 @@ TEST_F(VideoCaptureDeviceFactoryMacTest, ListDevicesAVFoundation) { |
return; |
} |
VideoCaptureDeviceFactoryMac video_capture_device_factory( |
- base::MessageLoopProxy::current()); |
+ base::ThreadTaskRunnerHandle::Get()); |
VideoCaptureDevice::Names names; |
video_capture_device_factory.GetDeviceNames(&names); |