| Index: chrome/test/base/in_process_browser_test.cc
|
| diff --git a/chrome/test/base/in_process_browser_test.cc b/chrome/test/base/in_process_browser_test.cc
|
| index 75db28022c5968c5a8683e14c57d77898e328253..4ec9f221a44b926c13b7cac505cceef4eed8fde0 100644
|
| --- a/chrome/test/base/in_process_browser_test.cc
|
| +++ b/chrome/test/base/in_process_browser_test.cc
|
| @@ -243,7 +243,8 @@ Browser* InProcessBrowserTest::CreateIncognitoBrowser() {
|
| }
|
|
|
| Browser* InProcessBrowserTest::CreateBrowserForPopup(Profile* profile) {
|
| - Browser* browser = Browser::CreateForType(Browser::TYPE_POPUP, profile);
|
| + Browser* browser = Browser::CreateWithParams(
|
| + Browser::CreateParams(Browser::TYPE_POPUP, profile));
|
| AddBlankTabAndShow(browser);
|
| return browser;
|
| }
|
| @@ -251,11 +252,9 @@ Browser* InProcessBrowserTest::CreateBrowserForPopup(Profile* profile) {
|
| Browser* InProcessBrowserTest::CreateBrowserForApp(
|
| const std::string& app_name,
|
| Profile* profile) {
|
| - Browser* browser = Browser::CreateForApp(
|
| - Browser::TYPE_POPUP,
|
| - app_name,
|
| - gfx::Rect(),
|
| - profile);
|
| + Browser* browser = Browser::CreateWithParams(
|
| + Browser::CreateParams::CreateForApp(
|
| + Browser::TYPE_POPUP, app_name, gfx::Rect(), profile));
|
| AddBlankTabAndShow(browser);
|
| return browser;
|
| }
|
|
|