Index: Source/core/html/HTMLAnchorElement.cpp |
diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp |
index 7dcbbdc4803640dce7c8fbde12d0d5ec1704abf2..dfd46b7f615694d6979cad242c9c38a8c2902bb1 100644 |
--- a/Source/core/html/HTMLAnchorElement.cpp |
+++ b/Source/core/html/HTMLAnchorElement.cpp |
@@ -433,21 +433,21 @@ void HTMLAnchorElement::handleClick(Event* event) |
ResourceRequest request(completedURL); |
if (prefetchEventHandler()->hasIssuedPreconnect()) |
- frame->loader()->client()->dispatchWillRequestAfterPreconnect(request); |
+ frame->loader().client()->dispatchWillRequestAfterPreconnect(request); |
if (hasAttribute(downloadAttr)) { |
if (!hasRel(RelationNoReferrer)) { |
- String referrer = SecurityPolicy::generateReferrerHeader(document().referrerPolicy(), completedURL, frame->loader()->outgoingReferrer()); |
+ String referrer = SecurityPolicy::generateReferrerHeader(document().referrerPolicy(), completedURL, frame->loader().outgoingReferrer()); |
if (!referrer.isEmpty()) |
request.setHTTPReferrer(referrer); |
} |
- frame->loader()->client()->loadURLExternally(request, NavigationPolicyDownload, fastGetAttribute(downloadAttr)); |
+ frame->loader().client()->loadURLExternally(request, NavigationPolicyDownload, fastGetAttribute(downloadAttr)); |
} else { |
FrameLoadRequest frameRequest(document().securityOrigin(), request, target()); |
frameRequest.setTriggeringEvent(event); |
if (hasRel(RelationNoReferrer)) |
frameRequest.setShouldSendReferrer(NeverSendReferrer); |
- frame->loader()->load(frameRequest); |
+ frame->loader().load(frameRequest); |
} |
} |