Update a RVH's is_swapped_out_ bit if RFH is deleted in OnSwappedOut.
commit4139b055b4141885662f3d973258d8acc88cdeee
authoralexmos <alexmos@chromium.org>
Wed, 1 Jul 2015 16:36:49 +0000 (1 09:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 1 Jul 2015 16:37:17 +0000 (1 16:37 +0000)
tree1d3bd8007fc0d3d3c72e9f1c013fd05e5e30cffc
parent83fe5dc689ab3084bb4dd53481573e70e10dc7c5
Update a RVH's is_swapped_out_ bit if RFH is deleted in OnSwappedOut.

Previously, if a RenderFrameHost was deleted by OnSwappedOut, its
RenderViewHost's is_swapped_out_ bit was never updated, even though the
RVH was now swapped out.  This CL ensures that is_swapped_out_ is set
properly in this case.

BUG=505887

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

Cr-Commit-Position: refs/heads/master@{#337037}
content/browser/frame_host/render_frame_host_impl.cc
content/browser/frame_host/render_frame_host_manager_unittest.cc
content/browser/renderer_host/render_view_host_impl.h