diff options
author | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-14 22:42:56 +0000 |
---|---|---|
committer | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-14 22:42:56 +0000 |
commit | a7e4e28d9714e19c70fdfa4ad7f9c25e5208f094 (patch) | |
tree | 97b38a39c9968502966db4fe193b747b636979a0 /chrome | |
parent | c3b8de9a92df79ae22b1d811e558f50e21e21f81 (diff) | |
download | chromium_src-a7e4e28d9714e19c70fdfa4ad7f9c25e5208f094.zip chromium_src-a7e4e28d9714e19c70fdfa4ad7f9c25e5208f094.tar.gz chromium_src-a7e4e28d9714e19c70fdfa4ad7f9c25e5208f094.tar.bz2 |
Make convert_dict work again by adding AtExitManager in stack in main().
TEST=Build convert_dict and run it with 'en_US' as a cmd line argument where en_US.dic and en_US.aff are present in the same directory. It should create en_US.bdic.
Review URL: http://codereview.chromium.org/113414
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16116 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/tools/convert_dict/convert_dict.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/tools/convert_dict/convert_dict.cc b/chrome/tools/convert_dict/convert_dict.cc index b67ed19..0053b21 100644 --- a/chrome/tools/convert_dict/convert_dict.cc +++ b/chrome/tools/convert_dict/convert_dict.cc @@ -13,6 +13,7 @@ #include <stdio.h> +#include "base/at_exit.h" #include "base/file_util.h" #include "base/icu_util.h" #include "base/logging.h" @@ -77,6 +78,7 @@ int main(int argc, char* argv[]) { if (argc != 2) return PrintHelp(); + base::AtExitManager exit_manager; icu_util::Initialize(); std::string file_base = argv[1]; |