Index: chrome/browser/ui/webui/html_dialog_tab_contents_delegate_unittest.cc |
diff --git a/chrome/browser/ui/webui/html_dialog_tab_contents_delegate_unittest.cc b/chrome/browser/ui/webui/html_dialog_tab_contents_delegate_unittest.cc |
index 1c8a92e8fc93227527de527eb14c66b8e2f1a244..b6360243f9fe51f815593b20d8de23d86767d5c2 100644 |
--- a/chrome/browser/ui/webui/html_dialog_tab_contents_delegate_unittest.cc |
+++ b/chrome/browser/ui/webui/html_dialog_tab_contents_delegate_unittest.cc |
@@ -72,7 +72,7 @@ TEST_F(HtmlDialogTabContentsDelegateTest, DoNothingMethodsTest) { |
TEST_F(HtmlDialogTabContentsDelegateTest, OpenURLFromTabTest) { |
test_tab_contents_delegate_->OpenURLFromTab( |
- NULL, OpenURLParams(GURL(chrome::kAboutBlankURL), GURL(), |
+ NULL, OpenURLParams(GURL(chrome::kAboutBlankURL), content::Referrer(), |
NEW_FOREGROUND_TAB, content::PAGE_TRANSITION_LINK, false)); |
// This should create a new foreground tab in the existing browser. |
EXPECT_EQ(1, browser()->tab_count()); |
@@ -95,7 +95,7 @@ TEST_F(HtmlDialogTabContentsDelegateTest, DetachTest) { |
EXPECT_EQ(NULL, test_tab_contents_delegate_->profile()); |
// Now, none of the following calls should do anything. |
test_tab_contents_delegate_->OpenURLFromTab( |
- NULL, OpenURLParams(GURL(chrome::kAboutBlankURL), GURL(), |
+ NULL, OpenURLParams(GURL(chrome::kAboutBlankURL), content::Referrer(), |
NEW_FOREGROUND_TAB, content::PAGE_TRANSITION_LINK, false)); |
test_tab_contents_delegate_->AddNewContents(NULL, NULL, NEW_FOREGROUND_TAB, |
gfx::Rect(), false); |