| Index: chrome/browser/popup_blocker_browsertest.cc
|
| diff --git a/chrome/browser/popup_blocker_browsertest.cc b/chrome/browser/popup_blocker_browsertest.cc
|
| index 151f70e6faf9f80a557ee70a45ce10a492365c47..c2e3eded3d193b16c234c60fd13e0cfbd6e285b1 100644
|
| --- a/chrome/browser/popup_blocker_browsertest.cc
|
| +++ b/chrome/browser/popup_blocker_browsertest.cc
|
| @@ -70,7 +70,8 @@ class PopupBlockerBrowserTest : public InProcessBrowserTest {
|
| ui_test_utils::NavigateToURL(browser, url);
|
| observer.Wait();
|
|
|
| - ASSERT_EQ(2u, chrome::GetBrowserCount(browser->profile()));
|
| + ASSERT_EQ(2u, chrome::GetBrowserCount(browser->profile(),
|
| + browser->host_desktop_type()));
|
|
|
| std::vector<WebContents*> blocked_contents = GetBlockedContents(browser);
|
| ASSERT_TRUE(blocked_contents.empty());
|
| @@ -83,7 +84,8 @@ class PopupBlockerBrowserTest : public InProcessBrowserTest {
|
| // If the popup blocker blocked the blank post, there should be only one
|
| // tab in only one browser window and the URL of current tab must be equal
|
| // to the original URL.
|
| - EXPECT_EQ(1u, chrome::GetBrowserCount(browser->profile()));
|
| + EXPECT_EQ(1u, chrome::GetBrowserCount(browser->profile(),
|
| + browser->host_desktop_type()));
|
| EXPECT_EQ(1, browser->tab_strip_model()->count());
|
| WebContents* web_contents =
|
| browser->tab_strip_model()->GetActiveWebContents();
|
|
|