summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authordeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-13 11:17:52 +0000
committerdeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-13 11:17:52 +0000
commit8c2347e799aacd6dfa262f4361f065adc2cd302b (patch)
tree17f13ec3d3dd4670899b666d07465673a677f50e /base
parent1ffe08c10b4ade6acf92d4a1c2f604200facd410 (diff)
downloadchromium_src-8c2347e799aacd6dfa262f4361f065adc2cd302b.zip
chromium_src-8c2347e799aacd6dfa262f4361f065adc2cd302b.tar.gz
chromium_src-8c2347e799aacd6dfa262f4361f065adc2cd302b.tar.bz2
Update a comment about AtExitManager for unit tests. Removes a typo.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@786 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/run_all_unittests.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/run_all_unittests.cc b/base/run_all_unittests.cc
index 62d22a5..fae6cc6 100644
--- a/base/run_all_unittests.cc
+++ b/base/run_all_unittests.cc
@@ -31,8 +31,7 @@
#include "base/test_suite.h"
int main(int argc, char** argv) {
- // Some tests may use base::Singleton<>, thus we need to instanciate
- // the AtExitManager or else we will leak objects.
+ // Setup an AtExitManager so Singleton objects will be destructed.
base::AtExitManager at_exit_manager;
CommandLine::SetArgcArgv(argc, argv);