summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-17 20:40:43 +0000
committerjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-17 20:40:43 +0000
commita1b508bd812fd58321587869d1ba94e5994756a4 (patch)
tree55717c229408de300e0414a87398c5884efec162
parent18fca4e1db6dcb0077b56c40725c960c4f0d043c (diff)
downloadchromium_src-a1b508bd812fd58321587869d1ba94e5994756a4.zip
chromium_src-a1b508bd812fd58321587869d1ba94e5994756a4.tar.gz
chromium_src-a1b508bd812fd58321587869d1ba94e5994756a4.tar.bz2
I initialized this new field in one constructor but not in the other one, which caused uninitialized-memory failure in valgrind.
BUG=none TEST=none Review URL: http://codereview.chromium.org/504050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34870 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/tab_contents/navigation_entry.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/navigation_entry.cc b/chrome/browser/tab_contents/navigation_entry.cc
index c8db037..b5c1cd0 100644
--- a/chrome/browser/tab_contents/navigation_entry.cc
+++ b/chrome/browser/tab_contents/navigation_entry.cc
@@ -40,6 +40,7 @@ NavigationEntry::NavigationEntry()
: unique_id_(GetUniqueID()),
site_instance_(NULL),
page_type_(NORMAL_PAGE),
+ update_virtual_url_with_url_(false),
page_id_(-1),
transition_type_(PageTransition::LINK),
has_post_data_(false),