summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_browsertest.cc')
-rw-r--r--chrome/browser/autocomplete/autocomplete_browsertest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_browsertest.cc b/chrome/browser/autocomplete/autocomplete_browsertest.cc
index ba77285..742d6d6 100644
--- a/chrome/browser/autocomplete/autocomplete_browsertest.cc
+++ b/chrome/browser/autocomplete/autocomplete_browsertest.cc
@@ -134,8 +134,9 @@ IN_PROC_BROWSER_TEST_F(AutocompleteBrowserTest, TabAwayRevertSelect) {
EXPECT_EQ(UTF8ToWide(chrome::kAboutBlankURL),
location_bar->location_entry()->GetText());
location_bar->location_entry()->SetUserText(L"");
- browser()->AddTabWithURL(GURL(chrome::kAboutBlankURL), GURL(),
- PageTransition::START_PAGE, true, -1, false, NULL);
+ browser()->AddTabWithURL(
+ GURL(chrome::kAboutBlankURL), GURL(), PageTransition::START_PAGE,
+ -1, Browser::ADD_SELECTED, NULL, std::string());
ui_test_utils::WaitForNavigation(
&browser()->GetSelectedTabContents()->controller());
EXPECT_EQ(UTF8ToWide(chrome::kAboutBlankURL),