| Index: chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc
|
| diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc b/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc
|
| index 2c23eef70edeab415e18443fc123b6e38e9b1e80..c60af7f08799c943406ec419cef2a984196b09ba 100644
|
| --- a/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc
|
| +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc
|
| @@ -18,7 +18,7 @@
|
| #include "chrome/browser/extensions/webstore_installer.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/browser.h"
|
| -#include "chrome/browser/ui/browser_tabstrip.h"
|
| +#include "chrome/browser/ui/tabs/tab_strip_model.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/test/base/test_launcher_utils.h"
|
| @@ -255,7 +255,8 @@ class ExtensionWebstoreGetWebGLStatusTest : public InProcessBrowserTest {
|
| // Test cases for webstore origin frame blocking.
|
| IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateApiTest,
|
| FrameWebstorePageBlocked) {
|
| - content::WebContents* contents = chrome::GetActiveWebContents(browser());
|
| + content::WebContents* contents =
|
| + browser()->tab_strip_model()->GetActiveWebContents();
|
| string16 expected_title = UTF8ToUTF16("PASS: about:blank");
|
| string16 failure_title = UTF8ToUTF16("FAIL");
|
| content::TitleWatcher watcher(contents, expected_title);
|
| @@ -269,7 +270,8 @@ IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateApiTest,
|
|
|
| IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateApiTest,
|
| FrameErrorPageBlocked) {
|
| - content::WebContents* contents = chrome::GetActiveWebContents(browser());
|
| + content::WebContents* contents =
|
| + browser()->tab_strip_model()->GetActiveWebContents();
|
| string16 expected_title = UTF8ToUTF16("PASS: about:blank");
|
| string16 failure_title = UTF8ToUTF16("FAIL");
|
| content::TitleWatcher watcher(contents, expected_title);
|
|
|