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 069f5b5d1fb9e89f780a74048084610515efd789..7efae8b700b760dd82a10fe1cf361424e2be5192 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -2700,6 +2700,7 @@ void RenderFrameHostImpl::CommitNavigation( |
void RenderFrameHostImpl::FailedNavigation( |
const CommonNavigationParams& common_params, |
+ const BeginNavigationParams& begin_params, |
const RequestNavigationParams& request_params, |
bool has_stale_copy_in_cache, |
int error_code) { |
@@ -2714,6 +2715,9 @@ void RenderFrameHostImpl::FailedNavigation( |
Send(new FrameMsg_FailedNavigation(routing_id_, common_params, request_params, |
has_stale_copy_in_cache, error_code)); |
+ RenderFrameDevToolsAgentHost::OnFailedNavigation( |
+ this, common_params, begin_params, static_cast<net::Error>(error_code)); |
+ |
// An error page is expected to commit, hence why is_loading_ is set to true. |
is_loading_ = true; |
frame_tree_node_->ResetNavigationRequest(true); |