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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp

Issue 2814703004: Make blink::ResourceRequest ctors explicit (Closed)
Patch Set: simplify Created 3 years, 8 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: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp
index 90d7742c2a7a0d82a13e9e5e742135dd53aa0b32..a9a8d63e3576d8d5566bd5906fefb08905ed64d5 100644
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp
@@ -328,8 +328,8 @@ bool HTMLFrameOwnerElement::LoadOrRedirectSubframe(
Page::kMaxNumberOfFrames)
return false;
- FrameLoadRequest frame_load_request(&GetDocument(), url, "_self",
- kCheckContentSecurityPolicy);
+ FrameLoadRequest frame_load_request(&GetDocument(), ResourceRequest(url),
+ "_self", kCheckContentSecurityPolicy);
ReferrerPolicy policy = ReferrerPolicyAttribute();
if (policy != kReferrerPolicyDefault)

Powered by Google App Engine
This is Rietveld 408576698