Index: chrome/browser/ui/views/tabs/base_tab.cc |
diff --git a/chrome/browser/ui/views/tabs/base_tab.cc b/chrome/browser/ui/views/tabs/base_tab.cc |
index 0f9edce6c9766b469936d91ba931c96209b5e30f..f1a8c8a4c41c856d828fd2a105d4bee2a213164c 100644 |
--- a/chrome/browser/ui/views/tabs/base_tab.cc |
+++ b/chrome/browser/ui/views/tabs/base_tab.cc |
@@ -361,7 +361,7 @@ void BaseTab::OnMouseReleased(const views::MouseEvent& event) { |
// (normal windows behavior is to discard presses of a UI element where the |
// releases happen off the element). |
if (event.IsMiddleMouseButton()) { |
- if (HitTest(event.location())) { |
+ if (HitTestPoint(event.location())) { |
controller()->CloseTab(this); |
} else if (closing_) { |
// We're animating closed and a middle mouse button was pushed on us but |