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

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

Issue 1153063002: Initialize AVFoundation explicitly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add perf trace for InitializeAVFoundation and revert changes in browser_test_base.cc Created 5 years, 7 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
« no previous file with comments | « media/base/mac/avfoundation_glue.mm ('k') | media/video/capture/video_capture_device_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 26c9222b0f79c689e7cc87bbd08a6f0f90eba052..45027bac8228ebba21f351e35f95588e5df29037 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
@@ -15,6 +15,7 @@ namespace media {
class VideoCaptureDeviceFactoryMacTest : public testing::Test {
void SetUp() override {
+ AVFoundationGlue::InitializeAVFoundation();
base::CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kEnableAVFoundation);
}
« no previous file with comments | « media/base/mac/avfoundation_glue.mm ('k') | media/video/capture/video_capture_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698