Skip to content

Commit

Permalink
4076211: Turn FrameTreeNode::frame_tree into raw_ref.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkleinsc committed Dec 6, 2022
1 parent a029904 commit 6cca422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/api/electron_api_web_contents_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void WebContents::DetachFromOuterFrame() {
if (frame_tree_node_id != content::FrameTreeNode::kFrameTreeNodeInvalidId) {
auto* node = content::FrameTreeNode::GloballyFindByID(frame_tree_node_id);
DCHECK(node->parent());
node->frame_tree()->RemoveFrame(node);
node->frame_tree().RemoveFrame(node);
}
}

Expand Down

0 comments on commit 6cca422

Please sign in to comment.