diff --git a/pdf.js b/pdf.js index 1f74f0ef5..0342ca66f 100644 --- a/pdf.js +++ b/pdf.js @@ -1151,7 +1151,7 @@ var XRef = (function() { error("Invalid root reference"); // prepare the XRef cache - this.cache = Object.create(null); + this.cache = []; } constructor.prototype = {