summaryrefslogtreecommitdiffstats
path: root/chrome/tools/profiles/generate_profile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/tools/profiles/generate_profile.cc')
-rw-r--r--chrome/tools/profiles/generate_profile.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/tools/profiles/generate_profile.cc b/chrome/tools/profiles/generate_profile.cc
index 43927b67..cbb8200 100644
--- a/chrome/tools/profiles/generate_profile.cc
+++ b/chrome/tools/profiles/generate_profile.cc
@@ -32,6 +32,7 @@
#include "chrome/tools/profiles/thumbnail-inl.h"
+#include "base/at_exit.h"
#include "base/icu_util.h"
#include "base/message_loop.h"
#include "base/path_service.h"
@@ -202,6 +203,8 @@ void InsertURLBatch(const std::wstring& profile_dir, int page_id,
}
int main(int argc, const char* argv[]) {
+ base::AtExitManager exit_manager;
+
int next_arg = 1;
bool history_only = false;
if (strcmp(argv[next_arg], "--history-only") == 0) {