Remove the unused url
argument for the ChunkedStreamManager
class
This commit is contained in:
parent
47344197f4
commit
360c3d3813
@ -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;
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user