Do not create proxy hosts in the subtree of navigating frame.
commite6edde315c6cb57cae5f67056191dceab3f7403b
authornasko <nasko@chromium.org>
Fri, 17 Oct 2014 15:36:48 +0000 (17 08:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 17 Oct 2014 15:37:22 +0000 (17 15:37 +0000)
treead34e891c492a6ef7f39972d58024de422c6395a
parentc893bf973dc0077797ec9321315bcdf39e15a123
Do not create proxy hosts in the subtree of navigating frame.

This is an another attempt at landing https://codereview.chromium.org/536143002.

When a frame is navigating cross-process, its existing document will be completely destroyed and all child frames will be gone. This means that we don't need to create proxy objects for the new SiteInstance in the subtree of the navigating frame.

BUG=357747, 417030

Review URL: https://codereview.chromium.org/600483003

Cr-Commit-Position: refs/heads/master@{#300112}
content/browser/accessibility/site_per_process_accessibility_browsertest.cc
content/browser/frame_host/frame_tree.cc
content/browser/frame_host/frame_tree.h
content/browser/frame_host/frame_tree_browsertest.cc
content/browser/frame_host/render_frame_host_manager.cc
content/browser/site_per_process_browsertest.cc
content/test/data/site_per_process_main.html