summaryrefslogtreecommitdiffstats
path: root/chrome/browser/navigation_entry_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/navigation_entry_unittest.cc')
-rw-r--r--chrome/browser/navigation_entry_unittest.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/browser/navigation_entry_unittest.cc b/chrome/browser/navigation_entry_unittest.cc
index 2e36144..d1a64bf 100644
--- a/chrome/browser/navigation_entry_unittest.cc
+++ b/chrome/browser/navigation_entry_unittest.cc
@@ -12,7 +12,7 @@ class NavigationEntryTest : public testing::Test {
}
virtual void SetUp() {
- entry1_.reset(new NavigationEntry(TAB_CONTENTS_WEB));
+ entry1_.reset(new NavigationEntry);
instance_ = SiteInstance::CreateSiteInstance(NULL);
entry2_.reset(new NavigationEntry(TAB_CONTENTS_WEB, instance_, 3,
@@ -123,10 +123,6 @@ TEST_F(NavigationEntryTest, NavigationEntrySSLStatus) {
// Test other basic accessors
TEST_F(NavigationEntryTest, NavigationEntryAccessors) {
- // Type
- EXPECT_EQ(TAB_CONTENTS_WEB, entry1_.get()->tab_type());
- EXPECT_EQ(TAB_CONTENTS_WEB, entry2_.get()->tab_type());
-
// SiteInstance
EXPECT_TRUE(entry1_.get()->site_instance() == NULL);
EXPECT_EQ(instance_, entry2_.get()->site_instance());