Index: content/public/test/browser_test_base.cc |
diff --git a/content/public/test/browser_test_base.cc b/content/public/test/browser_test_base.cc |
index ad9ed08c32d471120aafa5853422da796ef86b76..2912d7b0d52fe7840c987ad47d5ff7acf146aca4 100644 |
--- a/content/public/test/browser_test_base.cc |
+++ b/content/public/test/browser_test_base.cc |
@@ -34,6 +34,7 @@ |
#if defined(OS_MACOSX) |
#include "base/mac/foundation_util.h" |
+#include "media/base/mac/avfoundation_glue.h" |
#endif |
#if defined(OS_ANDROID) |
@@ -225,6 +226,9 @@ void BrowserTestBase::SetUp() { |
#if defined(OS_MACOSX) |
// On Mac we always use hardware GL. |
use_osmesa = false; |
+ |
+ // Initialize AVFoundation if supported, for audio and video. |
jam
2015/05/27 14:54:37
I just remembered that content's browser's initial
tommi (sloooow) - chröme
2015/05/27 15:54:53
Thanks. Reverted.
|
+ AVFoundationGlue::InitializeAVFoundation(); |
#endif |
#if defined(OS_ANDROID) |