| Index: Source/core/html/HTMLLinkElement.cpp
|
| diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
|
| index f83508b317f36ba089a772243e7bde95c5b5c1e1..57d76edf873b3cc8e579190e1363585a90e5db5d 100644
|
| --- a/Source/core/html/HTMLLinkElement.cpp
|
| +++ b/Source/core/html/HTMLLinkElement.cpp
|
| @@ -739,7 +739,7 @@ void LinkStyle::process()
|
| request.setCrossOriginAccessControl(document().securityOrigin(), crossOriginMode);
|
| setFetchFollowingCORS();
|
| }
|
| - setResource(document().fetcher()->fetchCSSStyleSheet(request));
|
| + setResource(CSSStyleSheetResource::fetch(request, document().fetcher()));
|
|
|
| if (!resource()) {
|
| // The request may have been denied if (for example) the stylesheet is local and the document is remote, or if there was a Content Security Policy Failure.
|
|
|