From 94d8915e56cdfd2e78837d7647cfc3398a5fa1d0 Mon Sep 17 00:00:00 2001 From: "cpu@google.com" Date: Fri, 1 Aug 2008 03:44:23 +0000 Subject: Fix build bustage - Forgot to fix one main() function. TBR=nsylvain git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/tools/crash_service/main.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chrome') diff --git a/chrome/tools/crash_service/main.cc b/chrome/tools/crash_service/main.cc index ab27ddd..e61dba5 100644 --- a/chrome/tools/crash_service/main.cc +++ b/chrome/tools/crash_service/main.cc @@ -33,6 +33,7 @@ #include #include +#include "base/at_exit.h" #include "base/file_util.h" #include "base/logging.h" @@ -57,6 +58,9 @@ bool GetCrashServiceDirectory(std::wstring* dir) { int __stdcall wWinMain(HINSTANCE instance, HINSTANCE, wchar_t* cmd_line, int show_mode) { + // Manages the destruction of singletons. + base::AtExitManager exit_manager; + // We use/create a directory under the user's temp folder, for logging. std::wstring operating_dir; GetCrashServiceDirectory(&operating_dir); -- cgit v1.1