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

Unified Diff: ui/keyboard/keyboard_controller.cc

Issue 254743005: Fix white virtual keyboard at login screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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.h ('k') | ui/keyboard/keyboard_controller_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_controller.cc
diff --git a/ui/keyboard/keyboard_controller.cc b/ui/keyboard/keyboard_controller.cc
index 52c7c1477194cec5035abf0bb3903c853968afbf..44dbcb2276092d6b9f4d1c35caa64e11ad5c203e 100644
--- a/ui/keyboard/keyboard_controller.cc
+++ b/ui/keyboard/keyboard_controller.cc
@@ -287,9 +287,8 @@ void KeyboardController::OnWindowHierarchyChanged(
}
void KeyboardController::Reload() {
- // Makes sure the keyboard window is initialized.
- proxy_->GetKeyboardWindow();
- proxy_->ReloadKeyboardIfNeeded();
+ if (proxy_->HasKeyboardWindow())
+ proxy_->ReloadKeyboardIfNeeded();
}
void KeyboardController::OnTextInputStateChanged(
« no previous file with comments | « ui/keyboard/keyboard_controller.h ('k') | ui/keyboard/keyboard_controller_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698