Enable DCHECK for renderer-initiated navigations requiring initiator.

https://chromium-review.googlesource.com/c/chromium/src/+/1385495
This commit is contained in:
deepak1556 2019-01-25 13:51:08 +05:30
parent 0545d47ca7
commit 510ca79ddd

View file

@ -275,6 +275,7 @@ content::WebContents* CommonWebContentsDelegate::OpenURLFromTab(
load_url_params.should_replace_current_entry =
params.should_replace_current_entry;
load_url_params.is_renderer_initiated = params.is_renderer_initiated;
load_url_params.initiator_origin = params.initiator_origin;
load_url_params.should_clear_history_list = true;
source->GetController().LoadURLWithParams(load_url_params);