summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/input_method
diff options
context:
space:
mode:
authorzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-27 20:55:47 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-27 20:55:47 +0000
commite1bee745a6721a5333aed7449175ea0489b6ef9d (patch)
treeb17ff4941246a401fdb525dca4db142f75a1744c /chrome/browser/chromeos/input_method
parenta2ab2a1a02ef99433a627979ebcca6cfb8e4ad6c (diff)
downloadchromium_src-e1bee745a6721a5333aed7449175ea0489b6ef9d.zip
chromium_src-e1bee745a6721a5333aed7449175ea0489b6ef9d.tar.gz
chromium_src-e1bee745a6721a5333aed7449175ea0489b6ef9d.tar.bz2
Merge 144388 - Fix crash issue on setting cursor position.
BUG=134437 TEST=manually done on lumpy Review URL: https://chromiumcodereview.appspot.com/10636050 TBR=nona@chromium.org Review URL: https://chromiumcodereview.appspot.com/10698016 git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@144545 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/input_method')
-rw-r--r--chrome/browser/chromeos/input_method/input_method_engine.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/input_method/input_method_engine.cc b/chrome/browser/chromeos/input_method/input_method_engine.cc
index 65ad46f..39a4175 100644
--- a/chrome/browser/chromeos/input_method/input_method_engine.cc
+++ b/chrome/browser/chromeos/input_method/input_method_engine.cc
@@ -302,6 +302,7 @@ bool InputMethodEngineImpl::SetCandidates(
std::vector<input_method::IBusEngineController::Candidate> ibus_candidates;
candidate_ids_.clear();
+ candidate_indexes_.clear();
for (std::vector<Candidate>::const_iterator ix = candidates.begin();
ix != candidates.end(); ++ix) {
ibus_candidates.push_back(input_method::IBusEngineController::Candidate());