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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2058693002: Do not suppress referrers for '<a ... rel="noopener">'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 4e2628b2098388566b48958c0728165ece8280a2..d6d45b67d798f689ce0870466904a45aa91337ed 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2070,9 +2070,7 @@ void WebContentsImpl::CreateNewWindow(
params.user_gesture, &was_blocked);
}
if (!was_blocked) {
- OpenURLParams open_params(params.target_url,
- Referrer(),
- CURRENT_TAB,
+ OpenURLParams open_params(params.target_url, params.referrer, CURRENT_TAB,
Mike West 2016/06/10 08:26:06 This is the only behavioral change in this patch;
ui::PAGE_TRANSITION_LINK,
true /* is_renderer_initiated */);
open_params.user_gesture = params.user_gesture;

Powered by Google App Engine
This is Rietveld 408576698