Index: chrome/test/functional/nacl_sdk.py |
diff --git a/chrome/test/functional/nacl_sdk.py b/chrome/test/functional/nacl_sdk.py |
index 9a569c44de0b99124a40baa22667a4caf5892f75..5dc11724f6b482e954c6f856880571f38d7687ab 100755 |
--- a/chrome/test/functional/nacl_sdk.py |
+++ b/chrome/test/functional/nacl_sdk.py |
@@ -263,7 +263,7 @@ class NaClSDKTest(pyauto.PyUITest): |
# Close each tab and check for crashes. |
tab_count = self.GetTabCount() |
for index in xrange(tab_count - 1, 0, -1): |
- self.GetBrowserWindow(0).GetTab(index).Close(True) |
+ self.CloseTab(tab_index=index) |
self._CheckForCrashes() |
def _VerifyAnExample(self, name, url, verify_func): |