From fcdec74769768ae107cc96216175bce243aab995 Mon Sep 17 00:00:00 2001 From: "satorux@chromium.org" Date: Thu, 25 Mar 2010 10:59:37 +0000 Subject: 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 --- chrome/browser/chromeos/text_input/candidate_window.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome') 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. -- cgit v1.1