summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorcsilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-15 19:42:49 +0000
committercsilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-15 19:42:49 +0000
commit4bb0952d7a0e79674e47bcc9792842ce4a5bb996 (patch)
tree811a2f5b9848af82eca8fcdb82d5e94f28f08e78 /chrome/browser/tab_contents
parentac04bd31b63ddd5a659df2235087aecaa51f6c6d (diff)
downloadchromium_src-4bb0952d7a0e79674e47bcc9792842ce4a5bb996.zip
chromium_src-4bb0952d7a0e79674e47bcc9792842ce4a5bb996.tar.gz
chromium_src-4bb0952d7a0e79674e47bcc9792842ce4a5bb996.tar.bz2
[mac] Fix so that Service menu items show up properly in contextual menus.
BUG=53117 TEST=Select text and verify that service menu items show up in contextual menu. Review URL: http://codereview.chromium.org/3776006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62773 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/tab_contents_view_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_view_mac.mm b/chrome/browser/tab_contents/tab_contents_view_mac.mm
index 0fe9d26..eb550ab 100644
--- a/chrome/browser/tab_contents/tab_contents_view_mac.mm
+++ b/chrome/browser/tab_contents/tab_contents_view_mac.mm
@@ -248,7 +248,7 @@ void TabContentsViewMac::TakeFocus(bool reverse) {
void TabContentsViewMac::ShowContextMenu(const ContextMenuParams& params) {
RenderViewContextMenuMac menu(tab_contents(),
params,
- GetNativeView());
+ GetContentNativeView());
menu.Init();
}