summaryrefslogtreecommitdiffstats
path: root/chrome/views/view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/view.cc')
-rw-r--r--chrome/views/view.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/views/view.cc b/chrome/views/view.cc
index 9925ff4..0ab209a 100644
--- a/chrome/views/view.cc
+++ b/chrome/views/view.cc
@@ -537,8 +537,7 @@ void View::ProcessMouseReleased(const MouseEvent& e, bool canceled) {
ConvertPointToScreen(this, &location);
ContextMenuController* context_menu_controller = context_menu_controller_;
OnMouseReleased(e, canceled);
- context_menu_controller_->ShowContextMenu(this, location.x(), location.y(),
- true);
+ ShowContextMenu(location.x(), location.y(), true);
} else {
OnMouseReleased(e, canceled);
}