| Index: content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java b/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java
|
| index 25bf79f4ef21b09d816c14b95109d26bd39ee8cb..b8bf0efad5cf23d3dfacf3f6fc60184db1c8d8ac 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java
|
| @@ -995,7 +995,8 @@ public class SelectionPopupController extends ActionModeCallbackHelper {
|
| if (mWasPastePopupShowingOnInsertionDragStart) {
|
| destroyPastePopup();
|
| } else {
|
| - mWebContents.showContextMenuAtPoint(mSelectionRect.left, mSelectionRect.bottom);
|
| + mWebContents.showContextMenuAtTouchHandle(
|
| + mSelectionRect.left, mSelectionRect.bottom);
|
| }
|
| mWasPastePopupShowingOnInsertionDragStart = false;
|
| break;
|
| @@ -1013,7 +1014,8 @@ public class SelectionPopupController extends ActionModeCallbackHelper {
|
|
|
| case SelectionEventType.INSERTION_HANDLE_DRAG_STOPPED:
|
| if (mWasPastePopupShowingOnInsertionDragStart) {
|
| - mWebContents.showContextMenuAtPoint(mSelectionRect.left, mSelectionRect.bottom);
|
| + mWebContents.showContextMenuAtTouchHandle(
|
| + mSelectionRect.left, mSelectionRect.bottom);
|
| }
|
| mWasPastePopupShowingOnInsertionDragStart = false;
|
| break;
|
|
|