| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 761677293524eb653fff0bf6ed1eb89be91a1eca..67124be7f32e6a85c73c3b533a24a7640952f4fa 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -601,9 +601,12 @@ bool ContentViewCoreImpl::ShowPastePopup(const ContextMenuParams& params) {
|
| const bool can_edit_richly =
|
| !!(params.edit_flags & blink::WebContextMenuData::kCanEditRichly);
|
|
|
| - Java_ContentViewCore_showPastePopup(env, obj, params.selection_start.x(),
|
| - params.selection_start.y(),
|
| - can_select_all, can_edit_richly);
|
| + int handle_height = GetRenderWidgetHostViewAndroid()->GetTouchHandleHeight();
|
| + Java_ContentViewCore_showPastePopup(
|
| + env, obj, params.selection_rect.x(), params.selection_rect.y(),
|
| + params.selection_rect.right(),
|
| + params.selection_rect.bottom() + handle_height, can_select_all,
|
| + can_edit_richly);
|
| return true;
|
| }
|
|
|
|
|