Index: chrome/test/functional/tracing/tab_tracker.py |
diff --git a/chrome/test/functional/tracing/tab_tracker.py b/chrome/test/functional/tracing/tab_tracker.py |
index 4b3145ee24abe144796478cd86e8c7cccc6fa3b0..87e4886b26dc1aa442d8e15b56c39eab6eb84daa 100644 |
--- a/chrome/test/functional/tracing/tab_tracker.py |
+++ b/chrome/test/functional/tracing/tab_tracker.py |
@@ -60,7 +60,7 @@ class TabTracker(object): |
tab_uuid: the uuid of the tab to close |
""" |
idx = self.GetTabIndex(tab_uuid) |
- self._browser.GetBrowserWindow(self._window_idx).GetTab(idx).Close() |
+ self._browser.CloseTab(tab_index=idx, windex=self._window_idx) |
del self._uuids[idx] |
def GetTabIndex(self, tab_uuid): |