| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/at_exit.h" |
| 5 #include "testing/gtest/include/gtest/gtest.h" | 6 #include "testing/gtest/include/gtest/gtest.h" |
| 6 #include "testing/gtest_mac.h" | 7 #include "testing/gtest_mac.h" |
| 7 | 8 |
| 9 base::AtExitManager* g_at_exit_ = nullptr; |
| 10 |
| 8 int main(int argc, char* argv[]) { | 11 int main(int argc, char* argv[]) { |
| 12 g_at_exit_ = new base::AtExitManager; |
| 9 ::testing::InitGoogleTest(&argc, argv); | 13 ::testing::InitGoogleTest(&argc, argv); |
| 10 return RUN_ALL_TESTS(); | 14 return RUN_ALL_TESTS(); |
| 11 } | 15 } |
| OLD | NEW |