diff options
Diffstat (limited to 'chrome/browser/views/tabs/tab_strip.cc')
-rw-r--r-- | chrome/browser/views/tabs/tab_strip.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/chrome/browser/views/tabs/tab_strip.cc b/chrome/browser/views/tabs/tab_strip.cc index 3054e0a..03cc42f 100644 --- a/chrome/browser/views/tabs/tab_strip.cc +++ b/chrome/browser/views/tabs/tab_strip.cc @@ -248,13 +248,8 @@ void TabStrip::SelectTabAt(int old_model_index, int new_model_index) { } if (old_model_index >= 0) { - Tab* tab = GetTabAtTabDataIndex(ModelIndexToTabIndex(old_model_index)); - tab->StopMiniTabTitleAnimation(); - tab->SelectedChanged(); - } - if (new_model_index >= 0) { - GetTabAtTabDataIndex( - ModelIndexToTabIndex(new_model_index))->SelectedChanged(); + GetTabAtTabDataIndex(ModelIndexToTabIndex(old_model_index))-> + StopMiniTabTitleAnimation(); } } |