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

Unified Diff: third_party/WebKit/Source/core/editing/InputMethodController.cpp

Issue 2681833006: [Android] Restart input only once on focus change (Closed)
Patch Set: fixed nit Created 3 years, 10 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 | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/web/ChromeClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/InputMethodController.cpp
diff --git a/third_party/WebKit/Source/core/editing/InputMethodController.cpp b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
index eedf26046cc6765274d95f26be938f1ba1cd3882..e84573affa53ce61f588a2c5d20400ef4ee9b500 100644
--- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
@@ -1079,9 +1079,7 @@ WebTextInputType InputMethodController::textInputType() const {
}
void InputMethodController::willChangeFocus() {
- if (!finishComposingText(DoNotKeepSelection))
- return;
- frame().chromeClient().resetInputMethod();
+ finishComposingText(DoNotKeepSelection);
}
DEFINE_TRACE(InputMethodController) {
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698