Chromium Code Reviews| Index: media/base/run_all_unittests.cc |
| diff --git a/media/base/run_all_unittests.cc b/media/base/run_all_unittests.cc |
| index 01616fb6f95fc88940e6c487443ddcc17aecc9e3..e9328293dc10d0536388b49d252b6acaa753d380 100644 |
| --- a/media/base/run_all_unittests.cc |
| +++ b/media/base/run_all_unittests.cc |
| @@ -2,6 +2,7 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| +#include "base/test/main_hook.h" |
| #include "base/test/test_suite.h" |
| #include "media/base/media.h" |
| @@ -16,11 +17,13 @@ class TestSuiteNoAtExit : public base::TestSuite { |
| void TestSuiteNoAtExit::Initialize() { |
| // Run TestSuite::Initialize first so that logging is initialized. |
| base::TestSuite::Initialize(); |
| + |
|
stuartmorgan
2012/09/04 14:24:30
No need to add this blank line in an unrelated fun
Milan Broum
2012/09/04 14:38:21
Done.
|
| // Run this here instead of main() to ensure an AtExitManager is already |
| // present. |
| media::InitializeMediaLibraryForTesting(); |
| } |
| int main(int argc, char** argv) { |
| + MainHook hook(main, argc, argv); |
| return TestSuiteNoAtExit(argc, argv).Run(); |
| } |