| Index: Source/core/html/HTMLLinkElement.cpp
|
| diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
|
| index a1f97128ea5e919d88c93d68ce91c952e66607f7..233be7fd534038f5ce67dc68d4ad646160b813e4 100644
|
| --- a/Source/core/html/HTMLLinkElement.cpp
|
| +++ b/Source/core/html/HTMLLinkElement.cpp
|
| @@ -735,7 +735,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.
|
|
|