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 a7401726903a909bb2a4ec365a7e9ffd6b2f6da8..9b5936055b1ef659241700a224e1e81bd5d7349f 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 |
@@ -798,7 +798,7 @@ |
case SelectionEventType.INSERTION_HANDLE_MOVED: |
mSelectionRect.set(left, top, right, bottom); |
if (!isScrollInProgress && isPastePopupShowing()) { |
- mWebContents.showContextMenuAtPoint(xAnchor, yAnchor); |
+ showPastePopup(xAnchor, yAnchor); |
} else { |
hidePastePopup(); |
} |
@@ -808,7 +808,7 @@ |
if (mWasPastePopupShowingOnInsertionDragStart) { |
hidePastePopup(); |
} else { |
- mWebContents.showContextMenuAtPoint(xAnchor, yAnchor); |
+ showPastePopup(xAnchor, yAnchor); |
} |
mWasPastePopupShowingOnInsertionDragStart = false; |
break; |
@@ -826,7 +826,7 @@ |
case SelectionEventType.INSERTION_HANDLE_DRAG_STOPPED: |
if (mWasPastePopupShowingOnInsertionDragStart) { |
- mWebContents.showContextMenuAtPoint(xAnchor, yAnchor); |
+ showPastePopup(xAnchor, yAnchor); |
} |
mWasPastePopupShowingOnInsertionDragStart = false; |
break; |