| Index: content/browser/mouseleave_browsertest.cc
|
| ===================================================================
|
| --- content/browser/mouseleave_browsertest.cc (revision 145001)
|
| +++ content/browser/mouseleave_browsertest.cc (working copy)
|
| @@ -5,6 +5,7 @@
|
| #include "base/file_path.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/ui/browser.h"
|
| +#include "chrome/browser/ui/browser_tabstrip.h"
|
| #include "chrome/test/base/in_process_browser_test.h"
|
| #include "chrome/test/base/ui_test_utils.h"
|
| #include "content/public/browser/web_contents.h"
|
| @@ -34,7 +35,7 @@
|
| GURL test_url = ui_test_utils::GetTestUrl(
|
| FilePath(), FilePath(FILE_PATH_LITERAL("mouseleave.html")));
|
|
|
| - content::WebContents* tab = browser()->GetActiveWebContents();
|
| + content::WebContents* tab = chrome::GetActiveWebContents(browser());
|
| gfx::Rect tab_view_bounds;
|
| tab->GetView()->GetContainerBounds(&tab_view_bounds);
|
|
|
|
|