From 1ef5ad42064c8ef0d1503b68a7fbac01887ca093 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Sat, 18 Apr 2009 19:52:40 +0000 Subject: Reverting 14005. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14006 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/test/browser_with_test_window_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/test/browser_with_test_window_test.cc') diff --git a/chrome/test/browser_with_test_window_test.cc b/chrome/test/browser_with_test_window_test.cc index b0d6a84..1881a54 100644 --- a/chrome/test/browser_with_test_window_test.cc +++ b/chrome/test/browser_with_test_window_test.cc @@ -51,7 +51,7 @@ void BrowserWithTestWindowTest::AddTab(Browser* browser, const GURL& url) { TabContents* new_tab = browser->AddTabWithURL(url, GURL(), PageTransition::TYPED, true, 0, NULL); - CommitPendingLoadAsNewNavigation(&new_tab->controller(), url); + CommitPendingLoadAsNewNavigation(new_tab->controller(), url); } void BrowserWithTestWindowTest::CommitPendingLoadAsNewNavigation( @@ -73,5 +73,5 @@ void BrowserWithTestWindowTest::NavigateAndCommit( } void BrowserWithTestWindowTest::NavigateAndCommitActiveTab(const GURL& url) { - NavigateAndCommit(&browser()->GetSelectedTabContents()->controller(), url); + NavigateAndCommit(browser()->GetSelectedTabContents()->controller(), url); } -- cgit v1.1