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 44998359d6471848be4aeaa8caee6821506af5d2..a9032fe03efcea617fcdeaff31e4f2f93eee7b22 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -1011,8 +1011,10 @@ void RenderFrameHostImpl::OnDidCommitProvisionalLoad(const IPC::Message& msg) { |
// DidCommitProvisionalLoad IPC without a prior DidStartProvisionalLoad |
// message. |
if (!navigation_handle_) { |
+ // There is no pending NavigationEntry in these cases, so pass 0 as the |
+ // nav_id. |
navigation_handle_ = NavigationHandleImpl::Create( |
- validated_params.url, frame_tree_node_, base::TimeTicks::Now()); |
+ validated_params.url, frame_tree_node_, base::TimeTicks::Now(), 0); |
} |
accessibility_reset_count_ = 0; |