Index: media/base/run_all_unittests.cc |
diff --git a/media/base/run_all_unittests.cc b/media/base/run_all_unittests.cc |
index dfde2b52b86be6d5d1afac4155c66bf2f9b93bce..97e799b031786506180abd67c46802d94783f471 100644 |
--- a/media/base/run_all_unittests.cc |
+++ b/media/base/run_all_unittests.cc |
@@ -8,6 +8,7 @@ |
#include "base/test/test_discardable_memory_allocator.h" |
#include "base/test/test_suite.h" |
#include "build/build_config.h" |
+#include "media/base/fake_media_resources.h" |
#include "media/base/media.h" |
#include "media/base/media_switches.h" |
@@ -47,6 +48,7 @@ void TestSuiteNoAtExit::Initialize() { |
// Run this here instead of main() to ensure an AtExitManager is already |
// present. |
media::InitializeMediaLibrary(); |
+ media::SetUpFakeMediaResources(); |
base::DiscardableMemoryAllocator::SetInstance(&discardable_memory_allocator_); |
} |