| Index: chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc
|
| diff --git a/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc b/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc
|
| index 2ea2fb84ca99558ad566b3549f024bd00e777332..5054a372df1d1b389e39447971847afb1fdfad78 100644
|
| --- a/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc
|
| +++ b/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc
|
| @@ -66,9 +66,13 @@ bool FakeBaseTabStripController::IsNewTabPage(int index) const {
|
| }
|
|
|
| void FakeBaseTabStripController::SelectTab(int index) {
|
| - if (!IsValidIndex(index))
|
| + if (!IsValidIndex(index) || active_index_ == index)
|
| return;
|
| + ui::ListSelectionModel old_selection_model;
|
| + old_selection_model.SetSelectedIndex(active_index_);
|
| active_index_ = index;
|
| + selection_model_.SetSelectedIndex(active_index_);
|
| + tab_strip_->SetSelection(old_selection_model, selection_model_);
|
| }
|
|
|
| void FakeBaseTabStripController::ExtendSelectionTo(int index) {
|
|
|