Move the workerPort from the global PDFJS object and into GlobalWorkerOptions instead

This commit is contained in:
Jonas Jenwald 2018-02-14 14:25:47 +01:00
parent 003bd4044b
commit 45adf33187
4 changed files with 4 additions and 10 deletions

View file

@ -351,8 +351,6 @@ function getDefaultSetting(id) {
return globalSettings ? globalSettings.cMapPacked : false;
case 'postMessageTransfers':
return globalSettings ? globalSettings.postMessageTransfers : true;
case 'workerPort':
return globalSettings ? globalSettings.workerPort : null;
case 'workerSrc':
return globalSettings ? globalSettings.workerSrc : null;
case 'maxImageSize':