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

Unified Diff: media/video/capture/mac/video_capture_device_factory_mac_unittest.mm

Issue 1116683002: [media] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased patch Created 5 years, 8 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: 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);
« no previous file with comments | « media/video/capture/linux/video_capture_device_chromeos.cc ('k') | media/video/capture/mac/video_capture_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698