diff options
author | yusukes@google.com <yusukes@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-07 07:40:59 +0000 |
---|---|---|
committer | yusukes@google.com <yusukes@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-07 07:40:59 +0000 |
commit | ba099b9582184e11f90439404ea668d04832816d (patch) | |
tree | 04832d153616a82db670e8fd69e302d310b027e9 /chrome/browser | |
parent | 81aafd9b57ced4a2d0c5e3f31e8a9c5379947e35 (diff) | |
download | chromium_src-ba099b9582184e11f90439404ea668d04832816d.zip chromium_src-ba099b9582184e11f90439404ea668d04832816d.tar.gz chromium_src-ba099b9582184e11f90439404ea668d04832816d.tar.bz2 |
Remove false warning.
Obviously we don't have to write an error log when |type| is kKeyboardLayoutsOnly.
BUG=none
TEST=manual
Review URL: http://codereview.chromium.org/2871037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/chromeos/input_method/input_method_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/input_method/input_method_util.cc b/chrome/browser/chromeos/input_method/input_method_util.cc index b062a8d..6355328 100644 --- a/chrome/browser/chromeos/input_method/input_method_util.cc +++ b/chrome/browser/chromeos/input_method/input_method_util.cc @@ -582,7 +582,7 @@ bool GetInputMethodIdsFromLanguageCodeInternal( result = true; } } - if (!result) { + if ((type == kAllInputMethods) && !result) { LOG(ERROR) << "Unknown language code: " << normalized_language_code; } return result; |