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 af376b96993a4f7f6aa8c9b6e4b5181a06093b2c..ce46113bf3dd447e553dc8313833a342a5588ce0 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_android.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc |
@@ -938,6 +938,11 @@ bool RenderWidgetHostViewAndroid::OnTouchEvent( |
ComputeEventLatencyOSTouchHistograms(event); |
+ // Receiving any other touch event before the double-tap timeout expires |
rlanday
2017/06/07 04:03:54
This matches the behavior of the native Android te
|
+ // cancels opening the spellcheck menu. |
+ if (ime_adapter_android_) |
+ ime_adapter_android_->StopSpellCheckMenuTimer(); |
+ |
// If a browser-based widget consumes the touch event, it's critical that |
// touch event interception be disabled. This avoids issues with |
// double-handling for embedder-detected gestures like side swipe. |