Index: chrome/test/functional/omniboxmodel.py |
diff --git a/chrome/test/functional/omniboxmodel.py b/chrome/test/functional/omniboxmodel.py |
index 3c4a74114c4a36c9122d3150a093c15e03ec635c..579bb80cd8ecb279f45a12c60c5baf4bdcbd4efc 100755 |
--- a/chrome/test/functional/omniboxmodel.py |
+++ b/chrome/test/functional/omniboxmodel.py |
@@ -87,10 +87,10 @@ class OmniboxModelTest(autotour.Godel, PyUITest): |
self.VerifyOmniboxInfo() |
@autotour.GodelAction(10, CanCloseTab) |
- def CloseTab(self): |
+ def CloseFirstTab(self): |
"""Closes the first tab from the first window""" |
self._tab_count = self._tab_count - 1 |
- self.GetBrowserWindow(0).GetTab(0).Close(True) |
+ self.CloseTab() |
def VerifyOmniboxInfo(self): |
for key in self._url_map.keys(): |