Index: chrome/browser/ui/webui/inspect_ui_browsertest.cc |
=================================================================== |
--- chrome/browser/ui/webui/inspect_ui_browsertest.cc (revision 145001) |
+++ chrome/browser/ui/webui/inspect_ui_browsertest.cc (working copy) |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "chrome/browser/ui/browser.h" |
+#include "chrome/browser/ui/browser_tabstrip.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/test/base/in_process_browser_test.h" |
#include "chrome/test/base/ui_test_utils.h" |
@@ -41,7 +42,7 @@ |
NEW_FOREGROUND_TAB, |
ui_test_utils::BROWSER_TEST_WAIT_FOR_NAVIGATION); |
- WebContents* web_contents = browser()->GetActiveWebContents(); |
+ WebContents* web_contents = chrome::GetActiveWebContents(browser()); |
ASSERT_TRUE(web_contents != NULL); |
std::string result; |