summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/fullscreen/fullscreen_controller_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/fullscreen/fullscreen_controller_test.cc')
-rw-r--r--chrome/browser/ui/fullscreen/fullscreen_controller_test.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/browser/ui/fullscreen/fullscreen_controller_test.cc b/chrome/browser/ui/fullscreen/fullscreen_controller_test.cc
index 1880eee..09afc17 100644
--- a/chrome/browser/ui/fullscreen/fullscreen_controller_test.cc
+++ b/chrome/browser/ui/fullscreen/fullscreen_controller_test.cc
@@ -86,19 +86,15 @@ void FullscreenControllerTest::DenyCurrentFullscreenOrMouseLockRequest() {
void FullscreenControllerTest::GoBack() {
content::TestNavigationObserver observer(
- content::NotificationService::AllSources(), 1);
-
+ browser()->tab_strip_model()->GetActiveWebContents(), 1);
chrome::GoBack(browser(), CURRENT_TAB);
-
observer.Wait();
}
void FullscreenControllerTest::Reload() {
content::TestNavigationObserver observer(
- content::NotificationService::AllSources(), 1);
-
+ browser()->tab_strip_model()->GetActiveWebContents(), 1);
chrome::Reload(browser(), CURRENT_TAB);
-
observer.Wait();
}