| Index: Source/core/inspector/InspectorResourceAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorResourceAgent.cpp b/Source/core/inspector/InspectorResourceAgent.cpp
|
| index 95f899919a573204fa6e46ebaf728a010bf4f5ef..25c2dba15637dcd55c09deaaf0eff14a78499cfd 100644
|
| --- a/Source/core/inspector/InspectorResourceAgent.cpp
|
| +++ b/Source/core/inspector/InspectorResourceAgent.cpp
|
| @@ -752,11 +752,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;
|
|
|