Commit d70dba1e authored by Fergal Daly's avatar Fergal Daly Committed by Commit Bot

Remove references to |children_| from comments.

Children are now in the RenderFrameHost.

Change-Id: I002f7aefd5acabcab342617557525dac1a77be43
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2035647
Commit-Queue: Fergal Daly <fergal@chromium.org>
Reviewed-by: default avatarArthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#738111}
parent a808e895
...@@ -255,12 +255,12 @@ class CONTENT_EXPORT FrameTreeNode { ...@@ -255,12 +255,12 @@ class CONTENT_EXPORT FrameTreeNode {
return render_manager_.current_frame_host(); return render_manager_.current_frame_host();
} }
// Return the node immediately preceding this node in its parent's // Return the node immediately preceding this node in its parent's children,
// |children_|, or nullptr if there is no such node. // or nullptr if there is no such node.
FrameTreeNode* PreviousSibling() const; FrameTreeNode* PreviousSibling() const;
// Return the node immediately following this node in its parent's // Return the node immediately following this node in its parent's children,
// |children_|, or nullptr if there is no such node. // or nullptr if there is no such node.
FrameTreeNode* NextSibling() const; FrameTreeNode* NextSibling() const;
// Returns true if this node is in a loading state. // Returns true if this node is in a loading state.
...@@ -453,10 +453,7 @@ class CONTENT_EXPORT FrameTreeNode { ...@@ -453,10 +453,7 @@ class CONTENT_EXPORT FrameTreeNode {
// of the frame tree. // of the frame tree.
scoped_refptr<Navigator> navigator_; scoped_refptr<Navigator> navigator_;
// Manages creation and swapping of RenderFrameHosts for this frame. This // Manages creation and swapping of RenderFrameHosts for this frame.
// must be declared before |children_| so that it gets deleted after them.
// That's currently necessary so that RenderFrameHostImpl's destructor can
// call GetProcess.
RenderFrameHostManager render_manager_; RenderFrameHostManager render_manager_;
// A browser-global identifier for the frame in the page, which stays stable // A browser-global identifier for the frame in the page, which stays stable
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment