| Index: chrome/browser/ui/search/instant_page_unittest.cc
|
| diff --git a/chrome/browser/ui/search/instant_page_unittest.cc b/chrome/browser/ui/search/instant_page_unittest.cc
|
| index c9b57f1d50d74eb1af9e39d097f03a96efa011f4..c028d778bdfbccfa9ff7fa8a867257a637b27ee7 100644
|
| --- a/chrome/browser/ui/search/instant_page_unittest.cc
|
| +++ b/chrome/browser/ui/search/instant_page_unittest.cc
|
| @@ -68,7 +68,7 @@ void InstantPageTest::SetUp() {
|
| }
|
|
|
| TEST_F(InstantPageTest, IsLocal) {
|
| - page.reset(new InstantPage(&delegate, "", NULL));
|
| + page.reset(new InstantPage(&delegate));
|
| EXPECT_FALSE(page->supports_instant());
|
| EXPECT_FALSE(page->IsLocal());
|
| page->SetContents(web_contents());
|
| @@ -79,7 +79,7 @@ TEST_F(InstantPageTest, IsLocal) {
|
| }
|
|
|
| TEST_F(InstantPageTest, DetermineIfPageSupportsInstant_Local) {
|
| - page.reset(new InstantPage(&delegate, "", NULL));
|
| + page.reset(new InstantPage(&delegate));
|
| EXPECT_FALSE(page->supports_instant());
|
| page->SetContents(web_contents());
|
| NavigateAndCommit(GURL(chrome::kChromeSearchLocalNtpUrl));
|
| @@ -92,7 +92,7 @@ TEST_F(InstantPageTest, DetermineIfPageSupportsInstant_Local) {
|
| }
|
|
|
| TEST_F(InstantPageTest, DetermineIfPageSupportsInstant_NonLocal) {
|
| - page.reset(new InstantPage(&delegate, "", NULL));
|
| + page.reset(new InstantPage(&delegate));
|
| EXPECT_FALSE(page->supports_instant());
|
| page->SetContents(web_contents());
|
| NavigateAndCommit(GURL("chrome-search://foo/bar"));
|
| @@ -107,7 +107,7 @@ TEST_F(InstantPageTest, DetermineIfPageSupportsInstant_NonLocal) {
|
| }
|
|
|
| TEST_F(InstantPageTest, PageURLDoesntBelongToInstantRenderer) {
|
| - page.reset(new InstantPage(&delegate, "", NULL));
|
| + page.reset(new InstantPage(&delegate));
|
| EXPECT_FALSE(page->supports_instant());
|
| NavigateAndCommit(GURL(chrome::kChromeSearchLocalNtpUrl));
|
| page->SetContents(web_contents());
|
| @@ -132,7 +132,7 @@ TEST_F(InstantPageTest, PageURLDoesntBelongToInstantRenderer) {
|
| // Test to verify that ChromeViewMsg_DetermineIfPageSupportsInstant message
|
| // reply handler updates the instant support state in InstantPage.
|
| TEST_F(InstantPageTest, PageSupportsInstant) {
|
| - page.reset(new InstantPage(&delegate, "", NULL));
|
| + page.reset(new InstantPage(&delegate));
|
| EXPECT_FALSE(page->supports_instant());
|
| page->SetContents(web_contents());
|
| NavigateAndCommit(GURL("chrome-search://foo/bar"));
|
|
|