| Index: Source/core/xml/XSLImportRule.cpp
|
| diff --git a/Source/core/xml/XSLImportRule.cpp b/Source/core/xml/XSLImportRule.cpp
|
| index bfb45904cced122661674eef25431634c368b34d..7ba9845fdbaf0e420e3eedde926e972013858de1 100644
|
| --- a/Source/core/xml/XSLImportRule.cpp
|
| +++ b/Source/core/xml/XSLImportRule.cpp
|
| @@ -25,6 +25,7 @@
|
| #include "core/dom/Document.h"
|
| #include "core/fetch/FetchInitiatorTypeNames.h"
|
| #include "core/fetch/FetchRequest.h"
|
| +#include "core/fetch/RawResource.h"
|
| #include "core/fetch/ResourceFetcher.h"
|
| #include "core/fetch/XSLStyleSheetResource.h"
|
| #include "platform/SharedBuffer.h"
|
| @@ -100,7 +101,7 @@ void XSLImportRule::loadSheet()
|
| ResourceLoaderOptions fetchOptions(ResourceFetcher::defaultResourceOptions());
|
| FetchRequest request(ResourceRequest(ownerDocument->completeURL(absHref)), FetchInitiatorTypeNames::xml, fetchOptions);
|
| request.setOriginRestriction(FetchRequest::RestrictToSameOrigin);
|
| - ResourcePtr<Resource> resource = ownerDocument->fetcher()->fetchSynchronously(request);
|
| + ResourcePtr<Resource> resource = RawResource::fetchSynchronously(request, ownerDocument->fetcher());
|
| if (!resource)
|
| return;
|
|
|
|
|