Do not create proxy hosts in the subtree of navigating frame.
commitfaab4288197b20b73610aad3e5579751b0c3a97b
authornasko <nasko@chromium.org>
Fri, 12 Sep 2014 01:59:05 +0000 (11 18:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 12 Sep 2014 02:03:01 +0000 (12 02:03 +0000)
tree318b4101104224ff64e2d642c5fa58aa7b86f3fb
parenta71ea760fdfc9ca27ce29e160fb393c961555465
Do not create proxy hosts in the subtree of navigating frame.

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

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

Cr-Commit-Position: refs/heads/master@{#294520}
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