| Index: chrome/browser/views/tabs/tab_strip.cc
|
| diff --git a/chrome/browser/views/tabs/tab_strip.cc b/chrome/browser/views/tabs/tab_strip.cc
|
| index 77fb8ebc9498273c3ebaa55e6b2bf4f7b1e3a762..a1631fd32e096fc69baf0e445c08ffc934c8c808 100644
|
| --- a/chrome/browser/views/tabs/tab_strip.cc
|
| +++ b/chrome/browser/views/tabs/tab_strip.cc
|
| @@ -292,8 +292,13 @@ void TabStrip::SelectTabAt(int old_model_index, int new_model_index) {
|
| }
|
|
|
| if (old_model_index >= 0) {
|
| - GetTabAtTabDataIndex(ModelIndexToTabIndex(old_model_index))->
|
| - StopMiniTabTitleAnimation();
|
| + Tab* tab = GetTabAtTabDataIndex(ModelIndexToTabIndex(old_model_index));
|
| + tab->StopMiniTabTitleAnimation();
|
| + tab->SelectedChanged();
|
| + }
|
| + if (new_model_index >= 0) {
|
| + GetTabAtTabDataIndex(
|
| + ModelIndexToTabIndex(new_model_index))->SelectedChanged();
|
| }
|
| }
|
|
|
|
|