summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/fullscreen_controller_interactive_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/fullscreen_controller_interactive_browsertest.cc')
-rw-r--r--chrome/browser/ui/fullscreen_controller_interactive_browsertest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/fullscreen_controller_interactive_browsertest.cc b/chrome/browser/ui/fullscreen_controller_interactive_browsertest.cc
index 43fcec8..e21efb7 100644
--- a/chrome/browser/ui/fullscreen_controller_interactive_browsertest.cc
+++ b/chrome/browser/ui/fullscreen_controller_interactive_browsertest.cc
@@ -22,7 +22,7 @@ class FullscreenControllerInteractiveTest
// Verify that IsMouseLocked is consistent between the
// Fullscreen Controller and the Render View Host View.
EXPECT_TRUE(browser()->IsMouseLocked() ==
- browser()->GetSelectedWebContents()->
+ browser()->GetActiveWebContents()->
GetRenderViewHost()->GetView()->IsMouseLocked());
return browser()->IsMouseLocked();
}
@@ -144,7 +144,7 @@ IN_PROC_BROWSER_TEST_F(FullscreenControllerInteractiveTest,
ui_test_utils::NavigateToURL(browser(),
test_server()->GetURL(kFullscreenMouseLockHTML));
- WebContents* tab = browser()->GetSelectedWebContents();
+ WebContents* tab = browser()->GetActiveWebContents();
ASSERT_FALSE(IsFullscreenBubbleDisplayed());