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 63ea4e792488fb38b3319a4d84d5169322f4f2f7..0064d021d90b997384a7b9365de50cfa88b48865 100644 |
--- a/chrome/browser/ui/search/instant_page_unittest.cc |
+++ b/chrome/browser/ui/search/instant_page_unittest.cc |
@@ -65,7 +65,7 @@ void InstantPageTest::SetUp() { |
} |
TEST_F(InstantPageTest, IsLocal) { |
- page.reset(new InstantPage(&delegate, "", NULL, false)); |
+ page.reset(new InstantPage(&delegate, "", NULL)); |
EXPECT_FALSE(page->supports_instant()); |
EXPECT_FALSE(page->IsLocal()); |
page->SetContents(web_contents()); |
@@ -76,7 +76,7 @@ TEST_F(InstantPageTest, IsLocal) { |
} |
TEST_F(InstantPageTest, DetermineIfPageSupportsInstant_Local) { |
- page.reset(new InstantPage(&delegate, "", NULL, false)); |
+ page.reset(new InstantPage(&delegate, "", NULL)); |
EXPECT_FALSE(page->supports_instant()); |
page->SetContents(web_contents()); |
NavigateAndCommit(GURL(chrome::kChromeSearchLocalNtpUrl)); |
@@ -89,7 +89,7 @@ TEST_F(InstantPageTest, DetermineIfPageSupportsInstant_Local) { |
} |
TEST_F(InstantPageTest, DetermineIfPageSupportsInstant_NonLocal) { |
- page.reset(new InstantPage(&delegate, "", NULL, false)); |
+ page.reset(new InstantPage(&delegate, "", NULL)); |
EXPECT_FALSE(page->supports_instant()); |
page->SetContents(web_contents()); |
NavigateAndCommit(GURL("chrome-search://foo/bar")); |
@@ -104,7 +104,7 @@ TEST_F(InstantPageTest, DetermineIfPageSupportsInstant_NonLocal) { |
} |
TEST_F(InstantPageTest, PageURLDoesntBelongToInstantRenderer) { |
- page.reset(new InstantPage(&delegate, "", NULL, false)); |
+ page.reset(new InstantPage(&delegate, "", NULL)); |
EXPECT_FALSE(page->supports_instant()); |
NavigateAndCommit(GURL(chrome::kChromeSearchLocalNtpUrl)); |
page->SetContents(web_contents()); |
@@ -129,7 +129,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, false)); |
+ page.reset(new InstantPage(&delegate, "", NULL)); |
EXPECT_FALSE(page->supports_instant()); |
page->SetContents(web_contents()); |
NavigateAndCommit(GURL("chrome-search://foo/bar")); |