summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/navigation_entry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/navigation_entry.cc')
-rw-r--r--chrome/browser/tab_contents/navigation_entry.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/navigation_entry.cc b/chrome/browser/tab_contents/navigation_entry.cc
index e640e32..c07c08e 100644
--- a/chrome/browser/tab_contents/navigation_entry.cc
+++ b/chrome/browser/tab_contents/navigation_entry.cc
@@ -31,6 +31,18 @@ NavigationEntry::FaviconStatus::FaviconStatus() : valid_(false) {
bitmap_ = *rb.GetBitmapNamed(IDR_DEFAULT_FAVICON);
}
+
+NavigationEntry::NavigationEntry()
+ : unique_id_(GetUniqueID()),
+ tab_type_(TAB_CONTENTS_WEB),
+ site_instance_(NULL),
+ page_type_(NORMAL_PAGE),
+ page_id_(-1),
+ transition_type_(PageTransition::LINK),
+ has_post_data_(false),
+ restored_(false) {
+}
+
NavigationEntry::NavigationEntry(TabContentsType type)
: unique_id_(GetUniqueID()),
tab_type_(type),