summaryrefslogtreecommitdiffstats
path: root/chrome/test/in_process_browser_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/in_process_browser_test.cc')
-rw-r--r--chrome/test/in_process_browser_test.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/test/in_process_browser_test.cc b/chrome/test/in_process_browser_test.cc
index 75740ae7..615aaea 100644
--- a/chrome/test/in_process_browser_test.cc
+++ b/chrome/test/in_process_browser_test.cc
@@ -74,10 +74,8 @@ class LinuxHostInit {
namespace {
void InitializeBrowser(Browser* browser) {
- browser->AddTabWithURL(GURL(chrome::kAboutBlankURL), GURL(),
- PageTransition::START_PAGE, -1,
- TabStripModel::ADD_SELECTED, NULL, std::string(),
- &browser);
+ browser->AddSelectedTabWithURL(GURL(chrome::kAboutBlankURL),
+ PageTransition::START_PAGE);
// Wait for the page to finish loading.
ui_test_utils::WaitForNavigation(