Index: Source/core/inspector/InspectorResourceAgent.cpp |
diff --git a/Source/core/inspector/InspectorResourceAgent.cpp b/Source/core/inspector/InspectorResourceAgent.cpp |
index d53640c8abffa34e8c78f0130c6e29ee9251fa6a..c0396038cf503a836793e845461ceaf31cc7a5ae 100644 |
--- a/Source/core/inspector/InspectorResourceAgent.cpp |
+++ b/Source/core/inspector/InspectorResourceAgent.cpp |
@@ -751,11 +751,13 @@ void InspectorResourceAgent::loadResourceForFrontend(ErrorString* errorString, c |
} |
ThreadableLoaderOptions options; |
- options.allowCredentials = AllowStoredCredentials; |
options.crossOriginRequestPolicy = AllowCrossOriginRequests; |
+ ResourceLoaderOptions resourceLoaderOptions; |
+ resourceLoaderOptions.allowCredentials = AllowStoredCredentials; |
+ |
InspectorThreadableLoaderClient* inspectorThreadableLoaderClient = new InspectorThreadableLoaderClient(callback); |
- RefPtr<DocumentThreadableLoader> loader = DocumentThreadableLoader::create(*document, inspectorThreadableLoaderClient, request, options); |
+ RefPtr<DocumentThreadableLoader> loader = DocumentThreadableLoader::create(*document, inspectorThreadableLoaderClient, request, options, resourceLoaderOptions); |
if (!loader) { |
inspectorThreadableLoaderClient->didFailLoaderCreation(); |
return; |