Index: content/browser/frame_host/navigation_controller_impl.cc |
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc |
index 4be5a3ce4a009f07a74d87de92730bec3740c2b7..a21bfc27c8132ad60d3387f54e9f42fd348accb9 100644 |
--- a/content/browser/frame_host/navigation_controller_impl.cc |
+++ b/content/browser/frame_host/navigation_controller_impl.cc |
@@ -721,6 +721,8 @@ void NavigationControllerImpl::LoadURLWithParams(const LoadURLParams& params) { |
browser_context_)); |
if (params.frame_tree_node_id != -1) |
entry->set_frame_tree_node_id(params.frame_tree_node_id); |
+ entry->set_source_site_instance( |
+ static_cast<SiteInstanceImpl*>(params.source_site_instance.get())); |
if (params.redirect_chain.size() > 0) |
entry->SetRedirectChain(params.redirect_chain); |
if (params.should_replace_current_entry) |