diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-29 01:55:38 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-29 01:55:38 +0000 |
commit | 715af7e54de3111942c62841a64c6f3584c93877 (patch) | |
tree | 2668603d9deb872ea71a7ca319639a68f81e0b0a /chrome/browser/task_manager_browsertest.cc | |
parent | 451bbe386a9fc28d4ea7c43277fce65248edba20 (diff) | |
download | chromium_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/task_manager_browsertest.cc')
-rw-r--r-- | chrome/browser/task_manager_browsertest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/task_manager_browsertest.cc b/chrome/browser/task_manager_browsertest.cc index 08d5490..392d77c 100644 --- a/chrome/browser/task_manager_browsertest.cc +++ b/chrome/browser/task_manager_browsertest.cc @@ -93,8 +93,8 @@ IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, NoticeTabContentsChanges) { // Open a new tab and make sure we notice that. GURL url(ui_test_utils::GetTestUrl(FilePath(FilePath::kCurrentDirectory), FilePath(kTitle1File))); - browser()->AddTabWithURL(url, GURL(), PageTransition::TYPED, - true, 0, false, NULL); + browser()->AddTabWithURL(url, GURL(), PageTransition::TYPED, 0, + Browser::ADD_SELECTED, NULL, std::string()); WaitForResourceChange(3); // Close the tab and verify that we notice. @@ -239,8 +239,8 @@ IN_PROC_BROWSER_TEST_F(TaskManagerBrowserTest, // Open a new tab and make sure we notice that. GURL url(ui_test_utils::GetTestUrl(FilePath(FilePath::kCurrentDirectory), FilePath(kTitle1File))); - browser()->AddTabWithURL(url, GURL(), PageTransition::TYPED, - true, 0, false, NULL); + browser()->AddTabWithURL(url, GURL(), PageTransition::TYPED, 0, + Browser::ADD_SELECTED, NULL, std::string()); WaitForResourceChange(3); // Check that we get some value for the cache columns. |