| Index: Source/core/dom/ProcessingInstruction.cpp
|
| diff --git a/Source/core/dom/ProcessingInstruction.cpp b/Source/core/dom/ProcessingInstruction.cpp
|
| index 068410e44814858772afec965f9ef943dac0593e..aca9261fa0f88838620bcc97526cd89b63b73a48 100644
|
| --- a/Source/core/dom/ProcessingInstruction.cpp
|
| +++ b/Source/core/dom/ProcessingInstruction.cpp
|
| @@ -170,10 +170,10 @@ void ProcessingInstruction::process(const String& href, const String& charset)
|
| FetchRequest request(ResourceRequest(document().completeURL(href)), FetchInitiatorTypeNames::processinginstruction);
|
| if (m_isXSL) {
|
| if (RuntimeEnabledFeatures::xsltEnabled())
|
| - resource = document().fetcher()->fetchXSLStyleSheet(request);
|
| + resource = XSLStyleSheetResource::fetch(request, document().fetcher());
|
| } else {
|
| request.setCharset(charset.isEmpty() ? document().charset() : charset);
|
| - resource = document().fetcher()->fetchCSSStyleSheet(request);
|
| + resource = CSSStyleSheetResource::fetch(request, document().fetcher());
|
| }
|
|
|
| if (resource) {
|
|
|