diff --git a/pdf.js b/pdf.js index 7dbc187fc..73fdeee2a 100644 --- a/pdf.js +++ b/pdf.js @@ -4989,7 +4989,7 @@ var PDFFunction = (function() { if (!typeFn) error('Unknown type of function'); - typeFn.apply(this, [fn, dict]); + typeFn.call(this, fn, dict); }; constructor.prototype = {