Index: chrome/browser/ui/views/tabs/tab.cc |
diff --git a/chrome/browser/ui/views/tabs/tab.cc b/chrome/browser/ui/views/tabs/tab.cc |
index 4121cc87a3ed564ffa8681f82d2ec1f163ab7876..bd937d3e60caea9cd3a2e8a29be2f25daf2e7e17 100644 |
--- a/chrome/browser/ui/views/tabs/tab.cc |
+++ b/chrome/browser/ui/views/tabs/tab.cc |
@@ -1461,7 +1461,7 @@ bool Tab::ShouldShowMediaIndicator() const { |
} |
bool Tab::ShouldShowCloseBox() const { |
- if (!IsActive() && controller_->ShouldHideCloseButtonForInactiveTab(this)) |
+ if (!IsActive() && controller_->ShouldHideCloseButtonForInactiveTabs()) |
return false; |
return chrome::ShouldTabShowCloseButton( |