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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 1278593004: Introduce ThreadedInputConnection behind a switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: straighten up state update, replace mQueue.poll() by mQueue.take() Created 4 years, 11 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: content/browser/renderer_host/render_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index 841754602d99e042bf5680a9575ebb583a3d6544..69dd57ed367b74afb5af718164da23f636342b77 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -672,7 +672,7 @@ void RenderWidgetHostViewAndroid::TextInputStateChanged(
host_->Send(new InputMsg_ImeEventAck(host_->GetRoutingID()));
}
- if (!IsShowing())
+ if (!content_view_core_)
return;
content_view_core_->UpdateImeAdapter(

Powered by Google App Engine
This is Rietveld 408576698