Chromium Code Reviews| Index: chrome/common/crash_keys_unittest.cc |
| diff --git a/chrome/common/crash_keys_unittest.cc b/chrome/common/crash_keys_unittest.cc |
| index 5dd04b2235b2405097558cb44eafc6d74b73b3c1..94759053ccbf2c39b298dfe14f1edd81dae97a38 100644 |
| --- a/chrome/common/crash_keys_unittest.cc |
| +++ b/chrome/common/crash_keys_unittest.cc |
| @@ -8,6 +8,7 @@ |
| #include <set> |
| #include <string> |
| +#include "base/at_exit.h" |
| #include "base/command_line.h" |
| #include "base/compiler_specific.h" |
| #include "base/debug/crash_logging.h" |
| @@ -25,7 +26,6 @@ class CrashKeysTest : public testing::Test { |
| } |
| void TearDown() override { |
| - base::debug::ResetCrashLoggingForTesting(); |
| self_ = NULL; |
| } |
| @@ -53,6 +53,7 @@ class CrashKeysTest : public testing::Test { |
| static CrashKeysTest* self_; |
| std::map<std::string, std::string> keys_; |
| + base::ShadowingAtExitManager at_exit_manager_; |
|
danakj
2015/09/24 21:08:36
ditto
Robert Sesek
2015/09/24 21:28:19
Done.
|
| }; |
| CrashKeysTest* CrashKeysTest::self_ = NULL; |