summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/tabs/base_tab.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views/tabs/base_tab.cc')
-rw-r--r--chrome/browser/ui/views/tabs/base_tab.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/ui/views/tabs/base_tab.cc b/chrome/browser/ui/views/tabs/base_tab.cc
index 9c99e47..740dc1d 100644
--- a/chrome/browser/ui/views/tabs/base_tab.cc
+++ b/chrome/browser/ui/views/tabs/base_tab.cc
@@ -473,11 +473,11 @@ void BaseTab::ButtonPressed(views::Button* sender, const views::Event& event) {
controller()->CloseTab(this);
}
-void BaseTab::ShowContextMenu(views::View* source,
- const gfx::Point& p,
- bool is_mouse_gesture) {
+void BaseTab::ShowContextMenuForView(views::View* source,
+ const gfx::Point& p,
+ bool is_mouse_gesture) {
if (controller())
- controller()->ShowContextMenu(this, p);
+ controller()->ShowContextMenuForTab(this, p);
}
void BaseTab::SetFavIconHidingOffset(int offset) {