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..3922edac94c8d6caa2e78a6adc7955a524a036b1 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(index, 0) |
self._CheckForCrashes() |
def _VerifyAnExample(self, name, url, verify_func): |