| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index d9457e901da9b898287983bb45339ade34e68e63..661b4db001cf8a8554d4b13d30ff3275dc282e73 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -2099,8 +2099,8 @@ void WebContentsImpl::CreateNewWindow(
|
| !delegate_->ShouldCreateWebContents(
|
| this, source_site_instance, render_view_route_id, main_frame_route_id,
|
| main_frame_widget_route_id, params.window_container_type,
|
| - params.opener_url, params.frame_name, params.target_url, partition_id,
|
| - session_storage_namespace)) {
|
| + opener->GetLastCommittedURL(), params.frame_name, params.target_url,
|
| + partition_id, session_storage_namespace)) {
|
| // Note: even though we're not creating a WebContents here, it could have
|
| // been created by the embedder so ensure that the RenderFrameHost is
|
| // properly initialized.
|
|
|