When a RFH's process dies, only reset children if this is the current RFH.

Currently, RFHI::OnRenderProcessGone unconditionally calls
FTN::ResetForNewProcess().  This is not correct if the RFH that lost
the process is not the current one (i.e., pending deletion or
speculative), as in that case it will destroy the subframes on the
current page.  Fix this by only doing ResetForNewProcess() for current

Bug: 867274
Change-Id: I565825d7f813b97feaf4dd3559e9a8d8fafa5c1c
Reviewed-on: https://chromium-review.googlesource.com/1150414
Reviewed-by: Charlie Reis <creis@chromium.org>
Commit-Queue: Alex Moshchuk <alexmos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578074}
3 files changed