From: sbarman Date: Thu, 7 Jul 2011 18:56:10 +0000 (-0700) Subject: fix bug with unref var X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8db37875445e3fc664b79261f14c222a152709d1;p=pdf.js.git fix bug with unref var --- diff --git a/pdf.js b/pdf.js index c41031e..d41a98c 100644 --- a/pdf.js +++ b/pdf.js @@ -4719,6 +4719,7 @@ var IndexedCS = (function() { return this.base.getRgb(c); }, getRgbBuffer: function indexcs_getRgbBuffer(input) { + var base = this.base; var numComps = base.numComps; var lookup = this.lookup; var length = input.length; @@ -4732,7 +4733,7 @@ var IndexedCS = (function() { } } - return this.base.getRgbBuffer(baseBuf); + return base.getRgbBuffer(baseBuf); } }; return constructor;