Index: content/browser/frame_host/navigation_entry_impl.cc |
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc |
index 58dbaf46f5405153b6cd18abf5ed369ef31e66eb..a9b37cc5db0ff9b86edbaa51d33848ed3a586ab8 100644 |
--- a/content/browser/frame_host/navigation_entry_impl.cc |
+++ b/content/browser/frame_host/navigation_entry_impl.cc |
@@ -52,7 +52,8 @@ NavigationEntryImpl::NavigationEntryImpl() |
is_renderer_initiated_(false), |
should_replace_entry_(false), |
should_clear_history_list_(false), |
- can_load_local_resources_(false) { |
+ can_load_local_resources_(false), |
+ frame_tree_node_id_(-1) { |
} |
NavigationEntryImpl::NavigationEntryImpl(SiteInstanceImpl* instance, |
@@ -80,7 +81,8 @@ NavigationEntryImpl::NavigationEntryImpl(SiteInstanceImpl* instance, |
is_renderer_initiated_(is_renderer_initiated), |
should_replace_entry_(false), |
should_clear_history_list_(false), |
- can_load_local_resources_(false) { |
+ can_load_local_resources_(false), |
+ frame_tree_node_id_(-1) { |
} |
NavigationEntryImpl::~NavigationEntryImpl() { |
@@ -330,6 +332,7 @@ void NavigationEntryImpl::ResetForCommit() { |
set_should_replace_entry(false); |
redirect_chain_.clear(); |
set_should_clear_history_list(false); |
+ set_frame_tree_node_id(-1); |
} |
void NavigationEntryImpl::SetScreenshotPNGData( |