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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2099243002: PlzNavigate: properly set the initiator of the navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments 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/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 3cb989d5ae28b7f4c3b76487cb4f909bf0237559..3c6dfcc4ff77328013108a2ee418ff3ea1f114ce 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -5842,7 +5842,8 @@ void RenderFrameImpl::BeginNavigation(blink::WebURLRequest* request,
GetLoadFlagsForWebURLRequest(*request),
request->hasUserGesture(),
request->skipServiceWorker(),
- GetRequestContextTypeForWebURLRequest(*request))));
+ GetRequestContextTypeForWebURLRequest(*request),
+ request->requestorOrigin())));
}
void RenderFrameImpl::LoadDataURL(

Powered by Google App Engine
This is Rietveld 408576698