Index: content/shell/shell_web_contents_view_delegate_android.cc |
diff --git a/content/shell/shell_web_contents_view_delegate_android.cc b/content/shell/shell_web_contents_view_delegate_android.cc |
index d222b8898295acd5f7d39eaaa3a49afc437f5f2f..6277a1c15db6cb96c260e983e61ea1e245621b31 100644 |
--- a/content/shell/shell_web_contents_view_delegate_android.cc |
+++ b/content/shell/shell_web_contents_view_delegate_android.cc |
@@ -32,7 +32,7 @@ void ShellWebContentsViewDelegate::ShowContextMenu( |
ContextMenuSourceType type) { |
if (params.is_editable && params.selection_text.empty()) { |
content::ContentViewCore* content_view_core = |
- web_contents_->GetView()->GetContentNativeView(); |
+ ContentViewCore::FromWebContents(web_contents_); |
if (content_view_core) { |
content_view_core->ShowPastePopup(params.selection_start.x(), |
params.selection_start.y()); |