Index: content/browser/mouseleave_browsertest.cc |
diff --git a/content/browser/mouseleave_browsertest.cc b/content/browser/mouseleave_browsertest.cc |
index 0309ed8f2ca63ac8145d2c6f7214398e71437afc..7257898399a48ee909495fa8bd415ec5eac29bb8 100644 |
--- a/content/browser/mouseleave_browsertest.cc |
+++ b/content/browser/mouseleave_browsertest.cc |
@@ -31,7 +31,7 @@ IN_PROC_BROWSER_TEST_F(MouseLeaveTest, MAYBE_TestOnMouseOut) { |
GURL test_url = ui_test_utils::GetTestUrl( |
FilePath(), FilePath(FILE_PATH_LITERAL("mouseleave.html"))); |
- content::WebContents* tab = browser()->GetSelectedWebContents(); |
+ content::WebContents* tab = browser()->GetActiveWebContents(); |
gfx::Rect tab_view_bounds; |
tab->GetView()->GetContainerBounds(&tab_view_bounds); |