diff --git a/pdf.js b/pdf.js index bf34d9398..bc726ccd2 100644 --- a/pdf.js +++ b/pdf.js @@ -4946,7 +4946,9 @@ var Pattern = (function() { })(); var DummyShading = (function() { - function constructor() {}; + function constructor() { + this.type = 'Pattern'; + }; constructor.prototype = { getPattern: function dummy_getpattern() { return 'hotpink';