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

Unified Diff: content/browser/web_contents/web_contents_view_android.cc

Issue 2752113005: Let ImeAdapterAndroid have the same lifecycle as its Java peer (Closed)
Patch Set: comments Created 3 years, 9 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/web_contents/web_contents_view_android.cc
diff --git a/content/browser/web_contents/web_contents_view_android.cc b/content/browser/web_contents/web_contents_view_android.cc
index 7791bf71393b68e80e6e7fc538730a33dfb5de02..9f4a5e714b5fb0de2efba7ad80696e05652089ca 100644
--- a/content/browser/web_contents/web_contents_view_android.cc
+++ b/content/browser/web_contents/web_contents_view_android.cc
@@ -185,8 +185,6 @@ void WebContentsViewAndroid::Focus() {
web_contents_->GetRenderWidgetHostView());
if (web_contents_->ShowingInterstitialPage()) {
web_contents_->GetInterstitialPage()->Focus();
- if (content_view_core_)
- content_view_core_->ForceUpdateImeAdapter(rwhv->GetNativeImeAdapter());
} else {
rwhv->Focus();
}

Powered by Google App Engine
This is Rietveld 408576698