| Index: chrome/test/functional/doc_viewing.py
|
| diff --git a/chrome/test/functional/doc_viewing.py b/chrome/test/functional/doc_viewing.py
|
| index 675162aa8cc4d6c0b2c0d070a23def8aab98396d..0a0821d128c288a7fdb194638b07d80ca408898d 100755
|
| --- a/chrome/test/functional/doc_viewing.py
|
| +++ b/chrome/test/functional/doc_viewing.py
|
| @@ -59,7 +59,7 @@ class DocViewingTest(pyauto.PyUITest):
|
| expect_retval=fname),
|
| msg='"%s" does not open.' % fname)
|
| # Close the document viewing tab after use.
|
| - self.GetBrowserWindow(0).GetTab(1).Close(True)
|
| + self.CloseTab(tab_index=1)
|
|
|
|
|
| if __name__ == '__main__':
|
|
|