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

Unified Diff: content/shell/browser/shell.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
« no previous file with comments | « chrome/test/data/frame_tree/anchor_to_same_site_location.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell.cc
diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc
index 9d74a1cd680b3eb69c892228f66de0e4c4294ac1..081c0f68c497951f08a03e566e58a2f13e2d0b29 100644
--- a/content/shell/browser/shell.cc
+++ b/content/shell/browser/shell.cc
@@ -328,6 +328,8 @@ WebContents* Shell::OpenURLFromTab(WebContents* source,
Shell* new_window =
Shell::CreateNewWindow(source->GetBrowserContext(),
GURL(), // Don't load anything just yet.
+ // TODO(lukasza): Pass nullptr below for
+ // consistency with //chrome layer.
params.source_site_instance,
gfx::Size()); // Use default size.
target = new_window->web_contents();
« no previous file with comments | « chrome/test/data/frame_tree/anchor_to_same_site_location.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698