| Index: third_party/WebKit/Source/core/html/LinkResource.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/LinkResource.cpp b/third_party/WebKit/Source/core/html/LinkResource.cpp
|
| index 3a5b0fec2226ff7b72f2cce6204b9e6b6b9dbf7a..d2105262e392d9f1723f8b0cab174dcaf997b962 100644
|
| --- a/third_party/WebKit/Source/core/html/LinkResource.cpp
|
| +++ b/third_party/WebKit/Source/core/html/LinkResource.cpp
|
| @@ -77,8 +77,9 @@ LinkRequestBuilder::LinkRequestBuilder(HTMLLinkElement* owner)
|
|
|
| FetchRequest LinkRequestBuilder::build(bool lowPriority) const
|
| {
|
| - ResourceLoadPriority priority = lowPriority ? ResourceLoadPriorityVeryLow : ResourceLoadPriorityUnresolved;
|
| - FetchRequest request(ResourceRequest(m_owner->document().completeURL(m_url)), m_owner->localName(), m_charset, priority);
|
| + FetchRequest request(ResourceRequest(m_owner->document().completeURL(m_url)), m_owner->localName(), m_charset);
|
| + if (lowPriority)
|
| + request.setDefer(FetchRequest::LazyLoad);
|
| request.setContentSecurityPolicyNonce(m_owner->fastGetAttribute(HTMLNames::nonceAttr));
|
| return request;
|
| }
|
|
|