Index: content/shell/browser/shell_web_contents_view_delegate_android.cc |
diff --git a/content/shell/browser/shell_web_contents_view_delegate_android.cc b/content/shell/browser/shell_web_contents_view_delegate_android.cc |
index 6905c9d1f6769c66316512ed6d3ff1d6bc9a3648..14248721ab3b2efc7c14d75ccfc4bcf16868e857 100644 |
--- a/content/shell/browser/shell_web_contents_view_delegate_android.cc |
+++ b/content/shell/browser/shell_web_contents_view_delegate_android.cc |
@@ -29,14 +29,10 @@ ShellWebContentsViewDelegate::~ShellWebContentsViewDelegate() { |
void ShellWebContentsViewDelegate::ShowContextMenu( |
RenderFrameHost* render_frame_host, |
const ContextMenuParams& params) { |
- if (params.is_editable && params.selection_text.empty()) { |
- content::ContentViewCore* content_view_core = |
- ContentViewCore::FromWebContents(web_contents_); |
- if (content_view_core) { |
- content_view_core->ShowPastePopup(params.selection_start.x(), |
- params.selection_start.y()); |
- } |
- } |
+ content::ContentViewCore* content_view_core = |
+ ContentViewCore::FromWebContents(web_contents_); |
+ if (content_view_core) |
+ content_view_core->ShowPastePopup(params); |
} |
} // namespace content |