| Index: chrome/test/functional/shortcuts.py
|
| diff --git a/chrome/test/functional/shortcuts.py b/chrome/test/functional/shortcuts.py
|
| index 937c19764386766fa0853f9026fa9f394d07e756..2b1202640329b2543a1b1b427ca8ff4e94399d3f 100755
|
| --- a/chrome/test/functional/shortcuts.py
|
| +++ b/chrome/test/functional/shortcuts.py
|
| @@ -35,7 +35,7 @@ class ShortcutsTest(pyauto.PyUITest):
|
| url = self.GetFileURLForPath(os.path.join(self.DataDir(), 'title2.html'))
|
| self.NavigateToURL(url)
|
| title = self.GetActiveTabTitle()
|
| - self.GetBrowserWindow(0).GetTab(1).Close()
|
| + self.CloseTab(tab_index=1)
|
| self.assertEqual(1, self.GetTabCount(), msg='Can not close a tab.')
|
| # Verify shortcut reopens the correct tab.
|
| self.RunCommand(pyauto.IDC_RESTORE_TAB)
|
|
|