Index: content/test/webrtc_content_browsertest_base.cc |
diff --git a/content/test/webrtc_content_browsertest_base.cc b/content/test/webrtc_content_browsertest_base.cc |
index b01ac5349204fee15fe405c5b89850aacc908b51..ba1226101cc6b7f5d0fc1c992fcdafb35be400c2 100644 |
--- a/content/test/webrtc_content_browsertest_base.cc |
+++ b/content/test/webrtc_content_browsertest_base.cc |
@@ -17,6 +17,10 @@ |
#include "chromeos/audio/cras_audio_handler.h" |
#endif |
+#if defined(OS_MACOSX) |
+#include "media/base/mac/avfoundation_glue.h" |
+#endif |
+ |
#if defined(OS_WIN) |
#include "base/win/windows_version.h" |
#endif |
@@ -42,6 +46,8 @@ void WebRtcContentBrowserTest::SetUp() { |
EnablePixelOutput(); |
#if defined(OS_CHROMEOS) |
chromeos::CrasAudioHandler::InitializeForTesting(); |
+#elif defined(OS_MACOSX) |
+ AVFoundationGlue::InitializeAVFoundation(); |
#endif |
ContentBrowserTest::SetUp(); |
} |