Index: Source/core/inspector/InspectorResourceAgent.cpp |
diff --git a/Source/core/inspector/InspectorResourceAgent.cpp b/Source/core/inspector/InspectorResourceAgent.cpp |
index 29accb85010442651df65dff82a0fe634ed6914b..fb128590774750db6929c5bfd80ab0c7462947d6 100644 |
--- a/Source/core/inspector/InspectorResourceAgent.cpp |
+++ b/Source/core/inspector/InspectorResourceAgent.cpp |
@@ -752,7 +752,7 @@ void InspectorResourceAgent::loadResourceForFrontend(ErrorString* errorString, c |
options.crossOriginRequestPolicy = AllowCrossOriginRequests; |
InspectorThreadableLoaderClient* inspectorThreadableLoaderClient = new InspectorThreadableLoaderClient(callback); |
- RefPtr<DocumentThreadableLoader> loader = DocumentThreadableLoader::create(document, inspectorThreadableLoaderClient, request, options); |
+ RefPtr<DocumentThreadableLoader> loader = DocumentThreadableLoader::create(*document, inspectorThreadableLoaderClient, request, options); |
if (!loader) { |
inspectorThreadableLoaderClient->didFailLoaderCreation(); |
return; |