Fix a bug where a tab closed immediately after a navigate fails to close.
The bug occurs when the navigation requires a new RVH and the navigation
completes in the new renderer before the old renderer finishes closing
the page. In this case the browser process swaps out the old renderer
and the close is dropped on the floor.
This fixes the bug by terminating the new RVH when closing the tab.
BUG=294697
Review URL: https://codereview.chromium.org/
24977003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226209 0039d316-1c4b-4281-b951-d872f2087c98