Index: components/renderer_context_menu/render_view_context_menu_base.cc |
diff --git a/components/renderer_context_menu/render_view_context_menu_base.cc b/components/renderer_context_menu/render_view_context_menu_base.cc |
index cda6c4667aef1908774a90842753fd62598a7b95..017d36dfbb0bf0c5adf3a5fba1a1fa780b9c52c3 100644 |
--- a/components/renderer_context_menu/render_view_context_menu_base.cc |
+++ b/components/renderer_context_menu/render_view_context_menu_base.cc |
@@ -172,6 +172,8 @@ void RenderViewContextMenuBase::Init() { |
DCHECK_NE(-1, content_context_custom_first); |
DCHECK_NE(-1, content_context_custom_last); |
+ CalculateScreenCoordinatesInParams(); |
+ |
InitMenu(); |
if (toolkit_delegate_) |
toolkit_delegate_->Init(&menu_model_); |