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

Unified Diff: ui/keyboard/keyboard_ui.cc

Issue 2869273007: Don't use KeyboardController::GetInstance() in KeyboardUI. (Closed)
Patch Set: add the comment Created 3 years, 7 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
« no previous file with comments | « ui/keyboard/keyboard_controller_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_ui.cc
diff --git a/ui/keyboard/keyboard_ui.cc b/ui/keyboard/keyboard_ui.cc
index 69b1f1e905a400dc1df1ef694e154cca48a71789..5b6515a3355d50c5bdfe5e5ed3bbeef7dd6f4320 100644
--- a/ui/keyboard/keyboard_ui.cc
+++ b/ui/keyboard/keyboard_ui.cc
@@ -44,7 +44,7 @@ void KeyboardUI::EnsureCaretInWorkArea() {
const bool new_vk_behavior =
(base::CommandLine::ForCurrentProcess()->HasSwitch(
::switches::kUseNewVirtualKeyboardBehavior) &&
- !keyboard::KeyboardController::GetInstance()->keyboard_locked());
+ !keyboard_controller_->keyboard_locked());
if (new_vk_behavior) {
GetInputMethod()->SetOnScreenKeyboardBounds(keyboard_bounds_in_screen);
« no previous file with comments | « ui/keyboard/keyboard_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698