| 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 29841163c87a34db0b811cabbf7030e9156b44aa..206443ea4b2986bb57adf67aed4bad6f0d568504 100644
|
| --- a/chrome/browser/ui/views/tabs/tab.cc
|
| +++ b/chrome/browser/ui/views/tabs/tab.cc
|
| @@ -1444,6 +1444,9 @@ bool Tab::ShouldShowMediaIndicator() const {
|
| }
|
|
|
| bool Tab::ShouldShowCloseBox() const {
|
| + if (!IsActive() && controller_->ShouldHideCloseButtonForInactiveTab(this))
|
| + return false;
|
| +
|
| return chrome::ShouldTabShowCloseButton(
|
| IconCapacity(), data().mini, IsActive());
|
| }
|
|
|