Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: content/browser/frame_host/navigation_entry_impl.cc

Issue 77673003: Add frame_tree_node_id to navigation parameters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(
« no previous file with comments | « content/browser/frame_host/navigation_entry_impl.h ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698