Skip to content

Commit

Permalink
Enable DCHECK for renderer-initiated navigations requiring initiator.
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed Jan 25, 2019
1 parent e607dbf commit d1e9302
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions atom/browser/common_web_contents_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d1e9302

Please sign in to comment.