summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_browsertest.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 01:55:38 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 01:55:38 +0000
commit715af7e54de3111942c62841a64c6f3584c93877 (patch)
tree2668603d9deb872ea71a7ca319639a68f81e0b0a /chrome/browser/browser_browsertest.cc
parent451bbe386a9fc28d4ea7c43277fce65248edba20 (diff)
downloadchromium_src-715af7e54de3111942c62841a64c6f3584c93877.zip
chromium_src-715af7e54de3111942c62841a64c6f3584c93877.tar.gz
chromium_src-715af7e54de3111942c62841a64c6f3584c93877.tar.bz2
Nukes one of the AddTabWithURL variants.
BUG=none TEST=none Review URL: http://codereview.chromium.org/1736022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45902 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_browsertest.cc')
-rw-r--r--chrome/browser/browser_browsertest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser_browsertest.cc b/chrome/browser/browser_browsertest.cc
index ff2b40e..d09be56 100644
--- a/chrome/browser/browser_browsertest.cc
+++ b/chrome/browser/browser_browsertest.cc
@@ -204,7 +204,7 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, MAYBE_JavascriptAlertActivatesTab) {
FilePath(kTitle1File)));
ui_test_utils::NavigateToURL(browser(), url);
browser()->AddTabWithURL(url, GURL(), PageTransition::TYPED,
- true, 0, false, NULL);
+ 0, Browser::ADD_SELECTED, NULL, std::string());
EXPECT_EQ(2, browser()->tab_count());
EXPECT_EQ(0, browser()->selected_index());
TabContents* second_tab = browser()->GetTabContentsAt(1);
@@ -228,7 +228,7 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, ThirtyFourTabs) {
// There is one initial tab.
for (int ix = 0; ix != 33; ++ix) {
browser()->AddTabWithURL(url, GURL(), PageTransition::TYPED,
- true, 0, false, NULL);
+ 0, Browser::ADD_SELECTED, NULL, std::string());
}
EXPECT_EQ(34, browser()->tab_count());