| 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 89a234b9c6ef189e30ca5c65caf2559af3c7c21a..22845aaf19ad9606d69a37f3f6fd1bc5c903d7f4 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
|
| @@ -65,6 +65,9 @@ bool FakeBaseTabStripController::IsNewTabPage(int index) const {
|
| }
|
|
|
| void FakeBaseTabStripController::SelectTab(int index) {
|
| + if (!IsValidIndex(index))
|
| + return;
|
| + active_index_ = index;
|
| }
|
|
|
| void FakeBaseTabStripController::ExtendSelectionTo(int index) {
|
|
|