| Index: trunk/src/content/browser/frame_host/frame_tree_node.cc
|
| ===================================================================
|
| --- trunk/src/content/browser/frame_host/frame_tree_node.cc (revision 251088)
|
| +++ trunk/src/content/browser/frame_host/frame_tree_node.cc (working copy)
|
| @@ -72,13 +72,13 @@
|
| }
|
| }
|
|
|
| -void FrameTreeNode::ResetForNewProcess() {
|
| +void FrameTreeNode::ResetForMainFrameSwap() {
|
| 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 before swapping to a new process.
|
| + // nodes get deleted.
|
| children_.clear();
|
| }
|
|
|
|
|