| Index: content/browser/frame_host/render_frame_host_impl.cc
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
|
| index 1c60bd6faf74beabf633a7f6334e4a961da183c2..668e182af8316a25d7df64cc80e5d4f64c7a82af 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -1401,6 +1401,10 @@ void RenderFrameHostImpl::CommitNavigation(
|
| // TODO(clamy): Check if we have to add security checks for the browser plugin
|
| // guests.
|
|
|
| + // Get back to a clean state, in case we start a new navigation without
|
| + // completing a RFH swap or unload handler.
|
| + SetState(RenderFrameHostImpl::STATE_DEFAULT);
|
| +
|
| Send(new FrameMsg_CommitNavigation(
|
| routing_id_, response->head, body->GetURL(),
|
| common_params, commit_params));
|
|
|