| Index: chrome/browser/chrome_main_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/chrome_main_browsertest.cc (revision 145001)
|
| +++ chrome/browser/chrome_main_browsertest.cc (working copy)
|
| @@ -12,6 +12,7 @@
|
| #include "chrome/browser/ui/browser_commands.h"
|
| #include "chrome/browser/ui/browser_finder.h"
|
| #include "chrome/browser/ui/browser_list.h"
|
| +#include "chrome/browser/ui/browser_tabstrip.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/common/chrome_switches.h"
|
| @@ -56,7 +57,7 @@
|
| observer.Wait();
|
|
|
| GURL url = net::FilePathToFileURL(test_file_path);
|
| - content::WebContents* tab = browser()->GetActiveWebContents();
|
| + content::WebContents* tab = chrome::GetActiveWebContents(browser());
|
| ASSERT_EQ(url, tab->GetController().GetActiveEntry()->GetVirtualURL());
|
| }
|
|
|
|
|