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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2864833002: Tapping handle shouldn't select misspelled word (Closed)
Patch Set: Fixed naming 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 c91ab567c06e11c18337ac350c7cdd1514155274..d6c15e6a9f88e1a3ce8bfaaeec04971c14fd8e5a 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2417,7 +2417,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