Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index cb9e3d3faa5df2dc38de129057f07c3d243797bb..e4c7f2a80c17aab19b40c08ad291d775854e9fcc 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -4878,9 +4878,10 @@ void RenderFrameImpl::OnFailedNavigation( |
frame_->isViewSourceModeEnabled()); |
SendFailedProvisionalLoad(failed_request, error, frame_); |
- // This check should have been done on the browser side already. |
if (!ShouldDisplayErrorPageForFailedLoad(error_code, common_params.url)) { |
- NOTREACHED(); |
+ // The browser expects this frame to be loading an error page. Inform it |
+ // that the load stopped. |
+ Send(new FrameHostMsg_DidStopLoading(routing_id_)); |
clamy
2016/08/17 14:27:13
We should only send the IPC if the frame is not lo
arthursonzogni
2016/08/17 15:57:01
Done.
|
return; |
} |