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

Unified Diff: content/browser/frame_host/navigator_impl.cc

Issue 2686943002: New WebContents created via ctrl-click should be in a new process. (Closed)
Patch Set: Test comments. Created 3 years, 10 months 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: content/browser/frame_host/navigator_impl.cc
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
index 0c34b760f629ae56c9c4c8fa0b69852949bee897..cb772fcdf89f3ef4b32c733dcce8c9af173d1122 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -771,12 +771,6 @@ void NavigatorImpl::RequestOpenURL(
params.should_replace_current_entry = should_replace_current_entry;
params.user_gesture = user_gesture;
- // RequestOpenURL is used only for local frames, so we can get here only if
- // the navigation is initiated by a frame in the same SiteInstance as this
- // frame. Note that navigations on RenderFrameProxies do not use
- // RequestOpenURL and go through RequestTransferURL instead.
- params.source_site_instance = current_site_instance;
-
if (render_frame_host->web_ui()) {
// Note that we hide the referrer for Web UI pages. We don't really want
// web sites to see a referrer of "chrome://blah" (and some chrome: URLs

Powered by Google App Engine
This is Rietveld 408576698