| Index: chrome/browser/chromeos/preferences.cc
|
| diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc
|
| index 758d12cc49583941f394ab433a1646f13cf5fc72..63c6d09dba9ca4cfaac781f70cdf52fe527e168e 100644
|
| --- a/chrome/browser/chromeos/preferences.cc
|
| +++ b/chrome/browser/chromeos/preferences.cc
|
| @@ -34,8 +34,8 @@
|
| #include "chrome/common/pref_names.h"
|
| #include "chromeos/chromeos_switches.h"
|
| #include "chromeos/ime/extension_ime_util.h"
|
| +#include "chromeos/ime/ime_keyboard.h"
|
| #include "chromeos/ime/input_method_manager.h"
|
| -#include "chromeos/ime/xkeyboard.h"
|
| #include "chromeos/system/statistics_provider.h"
|
| #include "components/user_prefs/pref_registry_syncable.h"
|
| #include "third_party/icu/source/i18n/unicode/timezone.h"
|
| @@ -518,7 +518,8 @@ void Preferences::ApplyPreferences(ApplyReason reason,
|
| pref_name == prefs::kLanguageXkbAutoRepeatEnabled) {
|
| if (user_is_active) {
|
| const bool enabled = xkb_auto_repeat_enabled_.GetValue();
|
| - input_method::InputMethodManager::Get()->GetXKeyboard()
|
| + input_method::InputMethodManager::Get()
|
| + ->GetImeKeyboard()
|
| ->SetAutoRepeatEnabled(enabled);
|
| }
|
| }
|
| @@ -627,7 +628,8 @@ void Preferences::UpdateAutoRepeatRate() {
|
| rate.repeat_interval_in_ms = xkb_auto_repeat_interval_pref_.GetValue();
|
| DCHECK(rate.initial_delay_in_ms > 0);
|
| DCHECK(rate.repeat_interval_in_ms > 0);
|
| - input_method::InputMethodManager::Get()->GetXKeyboard()
|
| + input_method::InputMethodManager::Get()
|
| + ->GetImeKeyboard()
|
| ->SetAutoRepeatRate(rate);
|
| }
|
|
|
|
|