diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-26 06:09:06 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-26 06:09:06 +0000 |
commit | f3615f0a53ed81a0146c3ff2816ac8432b779cbf (patch) | |
tree | cb1565c101fc9c425c8d6848e9bbd4ea62d00078 /android_webview/native | |
parent | c9e49a0ce0b7e7d0cc4c447f1c81161d28dbfe07 (diff) | |
download | chromium_src-f3615f0a53ed81a0146c3ff2816ac8432b779cbf.zip chromium_src-f3615f0a53ed81a0146c3ff2816ac8432b779cbf.tar.gz chromium_src-f3615f0a53ed81a0146c3ff2816ac8432b779cbf.tar.bz2 |
Remove WebContents methods that duplicate WebContentsView methods.
Review URL: https://codereview.chromium.org/12334073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/native')
-rw-r--r-- | android_webview/native/aw_web_contents_view_delegate.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android_webview/native/aw_web_contents_view_delegate.cc b/android_webview/native/aw_web_contents_view_delegate.cc index 160cf99..849fd5c 100644 --- a/android_webview/native/aw_web_contents_view_delegate.cc +++ b/android_webview/native/aw_web_contents_view_delegate.cc @@ -7,6 +7,7 @@ #include "android_webview/native/aw_contents.h" #include "content/public/browser/android/content_view_core.h" #include "content/public/browser/web_contents.h" +#include "content/public/browser/web_contents_view.h" #include "content/public/common/context_menu_params.h" namespace android_webview { @@ -43,7 +44,7 @@ void AwWebContentsViewDelegate::ShowContextMenu( // Display paste pop-up only when selection is empty and editable. if (params.is_editable && params.selection_text.empty()) { content::ContentViewCore* content_view_core = - web_contents_->GetContentNativeView(); + web_contents_->GetView()->GetContentNativeView(); if (content_view_core) { content_view_core->ShowPastePopup(params.selection_start.x(), params.selection_start.y()); |