summaryrefslogtreecommitdiffstats
path: root/content/browser/frame_host/frame_tree_node.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/frame_host/frame_tree_node.cc')
-rw-r--r--content/browser/frame_host/frame_tree_node.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/content/browser/frame_host/frame_tree_node.cc b/content/browser/frame_host/frame_tree_node.cc
index 41be622..bc044bc 100644
--- a/content/browser/frame_host/frame_tree_node.cc
+++ b/content/browser/frame_host/frame_tree_node.cc
@@ -48,11 +48,7 @@ bool FrameTreeNode::IsMainFrame() const {
}
void FrameTreeNode::AddChild(scoped_ptr<FrameTreeNode> child,
- int process_id,
int frame_routing_id) {
- // Child frame must always be created in the same process as the parent.
- CHECK_EQ(process_id, render_manager_.current_host()->GetProcess()->GetID());
-
// Initialize the RenderFrameHost for the new node. We always create child
// frames in the same SiteInstance as the current frame, and they can swap to
// a different one if they navigate away.