Remove the unused url argument for the ChunkedStreamManager class

This commit is contained in:
Tim van der Meij 2018-12-23 20:14:00 +01:00
parent 47344197f4
commit 360c3d3813
No known key found for this signature in database
GPG Key ID: 8C3FD2925A5F2762
3 changed files with 0 additions and 3 deletions

View File

@ -264,7 +264,6 @@ class ChunkedStreamManager {
this.chunkSize = args.rangeChunkSize;
this.stream = new ChunkedStream(this.length, this.chunkSize, this);
this.pdfNetworkStream = pdfNetworkStream;
this.url = args.url;
this.disableAutoFetch = args.disableAutoFetch;
this.msgHandler = args.msgHandler;

View File

@ -144,7 +144,6 @@ class NetworkPdfManager extends BasePdfManager {
this.streamManager = new ChunkedStreamManager(pdfNetworkStream, {
msgHandler: args.msgHandler,
url: args.url,
length: args.length,
disableAutoFetch: args.disableAutoFetch,
rangeChunkSize: args.rangeChunkSize,

View File

@ -322,7 +322,6 @@ var WorkerMessageHandler = {
fullRequest.isStreamingSupported;
pdfManager = new NetworkPdfManager(docId, pdfStream, {
msgHandler: handler,
url: source.url,
password: source.password,
length: fullRequest.contentLength,
disableAutoFetch,