| Index: android_webview/native/aw_web_contents_view_delegate.cc
|
| diff --git a/android_webview/native/aw_web_contents_view_delegate.cc b/android_webview/native/aw_web_contents_view_delegate.cc
|
| index daaca0d2348508e3b191918cc5b687a4ef8621d8..22baeb3ea175892b97caf93d62cfd33b70440daf 100644
|
| --- a/android_webview/native/aw_web_contents_view_delegate.cc
|
| +++ b/android_webview/native/aw_web_contents_view_delegate.cc
|
| @@ -47,19 +47,8 @@ void AwWebContentsViewDelegate::ShowContextMenu(
|
| if (content_view_core) {
|
| content_view_core->ShowPastePopup(params.selection_start.x(),
|
| params.selection_start.y());
|
| - return;
|
| }
|
| }
|
| -
|
| - AwContents* aw_contents = AwContents::FromWebContents(web_contents_);
|
| - if (!aw_contents)
|
| - return;
|
| -
|
| - // Context menu callback in Chromium is triggered by WebKit on an
|
| - // unhandled GestureLongPress event. Convert the context menu callback
|
| - // back into a long click event for Android WebView since the view
|
| - // system may choose to handle the gesture.
|
| - aw_contents->PerformLongClick();
|
| }
|
|
|
| } // namespace android_webview
|
|
|