Index: trunk/src/content/browser/frame_host/frame_tree_node.cc |
=================================================================== |
--- trunk/src/content/browser/frame_host/frame_tree_node.cc (revision 251109) |
+++ trunk/src/content/browser/frame_host/frame_tree_node.cc (working copy) |
@@ -72,13 +72,13 @@ |
} |
} |
-void FrameTreeNode::ResetForMainFrameSwap() { |
+void FrameTreeNode::ResetForNewProcess() { |
frame_id_ = kInvalidFrameId; |
current_url_ = GURL(); |
// The children may not have been cleared if a cross-process navigation |
// commits before the old process cleans everything up. Make sure the child |
- // nodes get deleted. |
+ // nodes get deleted before swapping to a new process. |
children_.clear(); |
} |