| 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 23bd15a8aea305ae7cfd523b9e917372fc3f4445..e87d092fcdb1995d556924ca9a1dc796896d37b9 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
|
| @@ -996,7 +996,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;
|
| @@ -1014,7 +1015,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;
|
|
|