diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-25 10:59:37 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-25 10:59:37 +0000 |
commit | fcdec74769768ae107cc96216175bce243aab995 (patch) | |
tree | 00ccd7d318d62f6bbebea215657e62090e694b11 /chrome | |
parent | 97c963cb3aa0f5d19a1df3f09725530032c47013 (diff) | |
download | chromium_src-fcdec74769768ae107cc96216175bce243aab995.zip chromium_src-fcdec74769768ae107cc96216175bce243aab995.tar.gz chromium_src-fcdec74769768ae107cc96216175bce243aab995.tar.bz2 |
Fix a bug that caused candidate_window to crash at startup time.
The problem was that CommandLine::ForCurrentProcess() was called
despite candidate_window did not parse the command line flags.
StackTrace::StackTrace() [0x45a312]
logging::LogMessage::~LogMessage() [0x40abb7]
CommandLine::ForCurrentProcess() [0x40b3b5]
l10n_util::GetApplicationLocale() [0x4cd3f7]
ResourceBundle::LoadResources() [0x4c935d]
ResourceBundle::InitSharedInstance() [0x4c5ed7]
main [0x402a5f]
0x7ffff2aa6abd
0x4002a9
BUG=crosbug.com/2254
TEST=manually
Review URL: http://codereview.chromium.org/1238008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42596 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/chromeos/text_input/candidate_window.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/text_input/candidate_window.cc b/chrome/browser/chromeos/text_input/candidate_window.cc index b86d2b9..a7bab58 100644 --- a/chrome/browser/chromeos/text_input/candidate_window.cc +++ b/chrome/browser/chromeos/text_input/candidate_window.cc @@ -944,6 +944,7 @@ int main(int argc, char** argv) { base::AtExitManager exit_manager; base::EnableTerminationOnHeapCorruption(); app::RegisterPathProvider(); + CommandLine::Init(argc, argv); ResourceBundle::InitSharedInstance(L"en-US"); // Load libcros. |