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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2864833002: Tapping handle shouldn't select misspelled word (Closed)
Patch Set: Mac test Created 3 years, 7 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/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index afb3b3f04f7b5dfec2df4a1dc3084da8974bddbc..b062d28adfb6dcbf6c9719443666ae5e6edae536 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2418,7 +2418,8 @@ void RenderViewImpl::OnShowContextMenu(
has_host_context_menu_location_ = true;
host_context_menu_location_ = location;
if (webview())
- webview()->ShowContextMenu();
+ webview()->ShowContextMenu(
+ static_cast<blink::WebMenuSourceType>(source_type));
has_host_context_menu_location_ = false;
}

Powered by Google App Engine
This is Rietveld 408576698