Index: content/browser/frame_host/navigator_impl.cc |
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc |
index a5ff8a1a22fd52d59efe6811e24f16b7ea3ba9f6..025bcf4518dcc376122de51b20c6b19d3e79c205 100644 |
--- a/content/browser/frame_host/navigator_impl.cc |
+++ b/content/browser/frame_host/navigator_impl.cc |
@@ -375,9 +375,9 @@ bool NavigatorImpl::NavigateToEntry( |
FrameMsg_Navigate_Type::Value navigation_type = GetNavigationType( |
controller_->GetBrowserContext(), entry, reload_type); |
dest_render_frame_host->Navigate( |
- entry.ConstructCommonNavigationParams(dest_url, dest_referrer, |
- navigation_type, lofi_state, |
- navigation_start), |
+ entry.ConstructCommonNavigationParams(frame_entry, dest_url, |
+ dest_referrer, navigation_type, |
+ lofi_state, navigation_start), |
entry.ConstructStartNavigationParams(), |
entry.ConstructRequestNavigationParams( |
frame_entry, is_same_document_history_load, |
@@ -863,7 +863,7 @@ void NavigatorImpl::FailedNavigation(FrameTreeNode* frame_tree_node, |
// Select an appropriate renderer to show the error page. |
RenderFrameHostImpl* render_frame_host = |
frame_tree_node->render_manager()->GetFrameHostForNavigation( |
- *navigation_request); |
+ navigation_request, true); |
CheckWebUIRendererDoesNotDisplayNormalURL( |
render_frame_host, navigation_request->common_params().url); |