diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-10 19:31:40 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-10 19:31:40 +0000 |
commit | 0683cf6f68e994804058a11528a876d4b767e7d4 (patch) | |
tree | 7d3b8957221758bfaa87dc56c80a41d1f63b778d /chrome/browser/browser_commands_unittest.cc | |
parent | 358fbd5f2ff4bcd94d262fdf6d8d8df3bed220b2 (diff) | |
download | chromium_src-0683cf6f68e994804058a11528a876d4b767e7d4.zip chromium_src-0683cf6f68e994804058a11528a876d4b767e7d4.tar.gz chromium_src-0683cf6f68e994804058a11528a876d4b767e7d4.tar.bz2 |
Remove auto commit from TestTabContents. This is the thing preventing me from
replacing it with WebContents. Fortunately, only one test was affected.
Review URL: http://codereview.chromium.org/66003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13527 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_commands_unittest.cc')
-rw-r--r-- | chrome/browser/browser_commands_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser_commands_unittest.cc b/chrome/browser/browser_commands_unittest.cc index 9916d05..e30bf44 100644 --- a/chrome/browser/browser_commands_unittest.cc +++ b/chrome/browser/browser_commands_unittest.cc @@ -49,9 +49,9 @@ TEST_F(BrowserCommandsTest, DuplicateTab) { // Navigate to the three urls, then go back. AddTestingTab(browser()); - browser()->OpenURL(url1, GURL(), CURRENT_TAB, PageTransition::TYPED); - browser()->OpenURL(url2, GURL(), CURRENT_TAB, PageTransition::TYPED); - browser()->OpenURL(url3, GURL(), CURRENT_TAB, PageTransition::TYPED); + NavigateAndCommitActiveTab(url1); + NavigateAndCommitActiveTab(url2); + NavigateAndCommitActiveTab(url3); size_t initial_window_count = BrowserList::size(); |