| 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 54ba0cf2a32d6da8b6b6874d701b9a2023e6153d..c9c7c8ce8593dbfc8462ed7ab5dd9d573e39ae15 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -594,7 +594,7 @@ void RenderFrameHostImpl::OnNavigate(const IPC::Message& msg) {
|
|
|
| // If we're waiting for a cross-site beforeunload ack from this renderer and
|
| // we receive a Navigate message from the main frame, then the renderer was
|
| - // navigating already and sent it before hearing the ViewMsg_Stop message.
|
| + // navigating already and sent it before hearing the FrameMsg_Stop message.
|
| // We do not want to cancel the pending navigation in this case, since the
|
| // old page will soon be stopped. Instead, treat this as a beforeunload ack
|
| // to allow the pending navigation to continue.
|
| @@ -1120,6 +1120,10 @@ void RenderFrameHostImpl::NavigateToURL(const GURL& url) {
|
| Navigate(params);
|
| }
|
|
|
| +void RenderFrameHostImpl::Stop() {
|
| + Send(new FrameMsg_Stop(routing_id_));
|
| +}
|
| +
|
| void RenderFrameHostImpl::DispatchBeforeUnload(bool for_cross_site_transition) {
|
| TRACE_EVENT_ASYNC_BEGIN0(
|
| "navigation", "RenderFrameHostImpl::BeforeUnload", this);
|
|
|