With --site-per-process, avoid a crash when a subframe process goes away.
commit0b641b5b9932aa3039564b4699d035227ad419b1
authorcreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 12 Feb 2014 23:05:49 +0000 (12 23:05 +0000)
committercreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 12 Feb 2014 23:05:49 +0000 (12 23:05 +0000)
tree3f796b03a26af71778a0fd9591f0adee1e6a6b2c
parentede620ca32bf39e89f9b47aa49458c8fcb9b1d69
With --site-per-process, avoid a crash when a subframe process goes away.

We need to clear out the children of any nodes that are affected by the
crash, not the entire FrameTree.

BUG=338508
TEST=Killing an iframe process with --site-per-process shows a green rectangle.
R=ajwong@chromium.org, nasko@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250823 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/frame_host/frame_tree.cc
content/browser/frame_host/frame_tree.h
content/browser/frame_host/frame_tree_node.cc
content/browser/frame_host/frame_tree_node.h
content/browser/renderer_host/render_view_host_impl.cc
content/browser/site_per_process_browsertest.cc