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

Unified Diff: content/public/test/browser_test_base.cc

Issue 1153063002: Initialize AVFoundation explicitly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert change in webrtc content browsertest 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
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)

Powered by Google App Engine
This is Rietveld 408576698