Index: media/base/run_all_unittests.cc |
diff --git a/media/base/run_all_unittests.cc b/media/base/run_all_unittests.cc |
index b715a328b99286174ddecba83883a432fc37ff9d..a24a2785ff7f563ff0eb8ed8d623fc8ce8aaf031 100644 |
--- a/media/base/run_all_unittests.cc |
+++ b/media/base/run_all_unittests.cc |
@@ -1,9 +1,14 @@ |
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
#include "base/test/test_suite.h" |
+#include "media/base/media.h" |
int main(int argc, char** argv) { |
- return base::TestSuite(argc, argv).Run(); |
+ base::TestSuite suite(argc, argv); |
+ |
+ media::InitializeMediaLibraryForTesting(); |
+ |
+ return suite.Run(); |
} |