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

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

Issue 917793006: Resetting FrameTreeNode must remove child FrameTreeNodes from global map. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months 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/frame_tree_node.cc
diff --git a/content/browser/frame_host/frame_tree_node.cc b/content/browser/frame_host/frame_tree_node.cc
index 6d654aaa9007b084411932f0176b241770ba63e4..ac3ec6d82e24de2effae7802cac1eea200ca00b3 100644
--- a/content/browser/frame_host/frame_tree_node.cc
+++ b/content/browser/frame_host/frame_tree_node.cc
@@ -43,6 +43,7 @@ FrameTreeNode::~FrameTreeNode() {
switches::kEnableBrowserSideNavigation)) {
navigator_->CancelNavigation(this);
}
+ frame_tree_->RemoveNodeFromMap(frame_tree_node_id_);
Charlie Reis 2015/02/12 17:12:43 Why not frame_tree->RemoveFrame(this)? I'm guessi
nasko 2015/02/12 23:21:08 Done.
}
bool FrameTreeNode::IsMainFrame() const {

Powered by Google App Engine
This is Rietveld 408576698