| Index: chrome/browser/chromeos/input_method/input_method_manager_impl.cc
|
| diff --git a/chrome/browser/chromeos/input_method/input_method_manager_impl.cc b/chrome/browser/chromeos/input_method/input_method_manager_impl.cc
|
| index c9eacb8be74e00f0f4ac82afa53e7d12740464e1..4a9c113bcf2b4cc9d68017be6932bb294efa519a 100644
|
| --- a/chrome/browser/chromeos/input_method/input_method_manager_impl.cc
|
| +++ b/chrome/browser/chromeos/input_method/input_method_manager_impl.cc
|
| @@ -296,9 +296,8 @@ void InputMethodManagerImpl::AddInputMethodExtension(
|
| return;
|
| }
|
|
|
| - const std::string virtual_layouts = JoinString(layouts, ',');
|
| - extra_input_methods_[id] = InputMethodDescriptor(
|
| - whitelist_, id, name, virtual_layouts, language);
|
| + const std::string layout = layouts.empty() ? "" : layouts[0];
|
| + extra_input_methods_[id] = InputMethodDescriptor(id, name, layout, language);
|
|
|
| if (!Contains(active_input_method_ids_, id)) {
|
| active_input_method_ids_.push_back(id);
|
|
|