Chromium Code Reviews| 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 3da5cd70530f9c9ca0cef8c232b9ef73d776a9ed..c7406404df139709833a4053ff33bb8f492659e7 100644 |
| --- a/chrome/browser/ui/views/tabs/tab.cc |
| +++ b/chrome/browser/ui/views/tabs/tab.cc |
| @@ -571,6 +571,10 @@ bool Tab::IsActive() const { |
| } |
| void Tab::ActiveStateChanged() { |
| + // The pinned tab title changed indicator is only shown for inactive tabs. |
| + // When transitioning between active and inactive already reset the state |
|
Evan Stade
2016/06/28 00:09:05
the "already" in this sentence is kinda throwing m
sky
2016/06/28 03:04:15
Should be always. Changed.
|
| + // to enforce that. |
| + SetPinnedTabTitleChangedIndicatorVisible(false); |
| OnButtonColorMaybeChanged(); |
| alert_indicator_button_->UpdateEnabledForMuteToggle(); |
| Layout(); |