diff options
Diffstat (limited to 'chrome/test/browser_with_test_window_test.cc')
-rw-r--r-- | chrome/test/browser_with_test_window_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/browser_with_test_window_test.cc b/chrome/test/browser_with_test_window_test.cc index 1881a54..b0d6a84 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); } |