| Index: third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| index 6bc0897a56d9bcfb50e61291919ab2641b6485f9..c04623cf768c81dc757bb9879c9a8ae460a97511 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| @@ -749,10 +749,9 @@ void LinkStyle::process()
|
| bool lowPriority = !mediaQueryMatches || m_owner->isAlternate();
|
| FetchRequest request = builder.build(lowPriority);
|
| CrossOriginAttributeValue crossOrigin = crossOriginAttributeValue(m_owner->fastGetAttribute(HTMLNames::crossoriginAttr));
|
| - if (crossOrigin != CrossOriginAttributeNotSet) {
|
| - request.setCrossOriginAccessControl(document().getSecurityOrigin(), crossOrigin);
|
| + request.setCrossOriginAccessControl(document().getSecurityOrigin(), crossOrigin);
|
| + if (crossOrigin != CrossOriginAttributeNotSet)
|
| setFetchFollowingCORS();
|
| - }
|
| setResource(CSSStyleSheetResource::fetch(request, document().fetcher()));
|
|
|
| if (m_loading && !resource()) {
|
|
|