summaryrefslogtreecommitdiffstats
path: root/net/disk_cache
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 21:11:49 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 21:11:49 +0000
commit9b7e4497c3862ec47a97a3f726b33b4c8ed401b4 (patch)
tree2fb524d65cc4371844a4857d38f263f3d2ffa7cd /net/disk_cache
parente69f4bf2bc779c33086a58600060f64d0d2e118e (diff)
downloadchromium_src-9b7e4497c3862ec47a97a3f726b33b4c8ed401b4.zip
chromium_src-9b7e4497c3862ec47a97a3f726b33b4c8ed401b4.tar.gz
chromium_src-9b7e4497c3862ec47a97a3f726b33b4c8ed401b4.tar.bz2
Fix utilities that were broken by at_exit changes.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@892 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache')
-rw-r--r--net/disk_cache/stress_cache.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/disk_cache/stress_cache.cc b/net/disk_cache/stress_cache.cc
index 3e8714b..fd0815e 100644
--- a/net/disk_cache/stress_cache.cc
+++ b/net/disk_cache/stress_cache.cc
@@ -38,6 +38,7 @@
#include <windows.h>
#include <string>
+#include "base/at_exit.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/path_service.h"
@@ -199,6 +200,9 @@ void CrashHandler(const std::string& str) {
// -----------------------------------------------------------------------
int main(int argc, const char* argv[]) {
+ // Setup an AtExitManager so Singleton objects will be destructed.
+ base::AtExitManager at_exit_manager;
+
if (argc < 2)
return MasterCode();