Index: chrome/test/functional/notifications.py |
diff --git a/chrome/test/functional/notifications.py b/chrome/test/functional/notifications.py |
index 762deb45b8e099f86fe805b35480f8bbf14019c4..11a426c1f11ae27717bf5c13aa831f6f21be3bc1 100755 |
--- a/chrome/test/functional/notifications.py |
+++ b/chrome/test/functional/notifications.py |
@@ -480,7 +480,7 @@ class NotificationsTest(pyauto.PyUITest): |
self.NavigateToURL(self.TEST_PAGE_URL) |
self._RequestPermission() |
self.assertTrue(self.WaitForInfobarCount(1)) |
- self.GetBrowserWindow(0).GetTab(0).Close(True) |
+ self.CloseTab() |
def testNavigateAwayWithPermissionInfobar(self): |
"""Test navigating away when an infobar is present, then trying to create a |