Index: chrome/test/functional/fullscreen_mouselock.py |
diff --git a/chrome/test/functional/fullscreen_mouselock.py b/chrome/test/functional/fullscreen_mouselock.py |
index 847b71ed147a0a216f830edb3d67646bc227e5ae..a9179f7a0bbddb18d778adcd50369275bdf6265f 100755 |
--- a/chrome/test/functional/fullscreen_mouselock.py |
+++ b/chrome/test/functional/fullscreen_mouselock.py |
@@ -419,7 +419,7 @@ class FullscreenMouselockTest(pyauto.PyUITest): |
""" |
self.NavigateToURL(self.GetHttpURLForDataPath('google', 'google.html')) |
self._InitiateTabFullscreen() |
- self.GetBrowserWindow().GetTab().GoBack() |
+ self.TabGoBack() |
self.assertFalse( |
self.IsFullscreenForTab(), |
msg='Tab fullscreen did not exit when navigating to a new page.') |
@@ -457,7 +457,7 @@ class FullscreenMouselockTest(pyauto.PyUITest): |
lock_result = self._EnableAndReturnLockMouseResult() |
self.assertEqual( |
lock_result, 'success', msg='Mouse is not locked.') |
- self.GetBrowserWindow().GetTab().GoBack() |
+ self.TabGoBack() |
self.assertFalse( |
self.IsMouseLocked(), |
msg='Mouse lock did not exit when navigating to the prev page.') |