Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Unified Diff: chrome/browser/ui/browser_navigator.cc

Issue 2471663002: ABANDONED CL: CtrlClickShouldEndUpInNewProcess - test for https://crbug.com/23815 (Closed)
Patch Set: One more test - for target="_blank". Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser_navigator.cc
diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
index 66a92f9d8a2f27a321feb9950c6c1cdcd950d602..3cc29667a0a180bac9874b67422828f8127f585b 100644
--- a/chrome/browser/ui/browser_navigator.cc
+++ b/chrome/browser/ui/browser_navigator.cc
@@ -350,9 +350,7 @@ content::WebContents* CreateTargetContents(const chrome::NavigateParams& params,
const GURL& url) {
WebContents::CreateParams create_params(
params.browser->profile(),
- params.source_site_instance
- ? params.source_site_instance
- : tab_util::GetSiteInstanceForNewTab(params.browser->profile(), url));
+ tab_util::GetSiteInstanceForNewTab(params.browser->profile(), url));
create_params.main_frame_name = params.frame_name;
if (params.source_contents) {
create_params.initial_size =
« no previous file with comments | « chrome/browser/chrome_navigation_browsertest.cc ('k') | chrome/test/data/frame_tree/anchor_to_same_site_location.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698