Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: chrome/browser/chromeos/preferences_browsertest.cc

Issue 419293002: IME refactoring: ChromeOS introduce input methods State. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/preferences_browsertest.cc
diff --git a/chrome/browser/chromeos/preferences_browsertest.cc b/chrome/browser/chromeos/preferences_browsertest.cc
index 996832c1bdc5a89a4637331a50c21dfc553b2faf..f0a9444ccaadf4818e894d8c22ccce872d688c0d 100644
--- a/chrome/browser/chromeos/preferences_browsertest.cc
+++ b/chrome/browser/chromeos/preferences_browsertest.cc
@@ -103,9 +103,11 @@ class PreferencesTest : public LoginManagerTest {
(int)rate.initial_delay_in_ms);
EXPECT_EQ(prefs->GetInteger(prefs::kLanguageXkbAutoRepeatInterval),
(int)rate.repeat_interval_in_ms);
- EXPECT_EQ(
- prefs->GetString(prefs::kLanguageCurrentInputMethod),
- input_method::InputMethodManager::Get()->GetCurrentInputMethod().id());
+ EXPECT_EQ(prefs->GetString(prefs::kLanguageCurrentInputMethod),
+ input_method::InputMethodManager::Get()
+ ->GetActiveIMEState()
+ ->GetCurrentInputMethod()
+ .id());
}
void CheckLocalStateCorrespondsToPrefs(PrefService* prefs) {

Powered by Google App Engine
This is Rietveld 408576698