fix bug with unref var

This commit is contained in:
sbarman 2011-07-07 11:56:10 -07:00
parent 15a50e4237
commit 8db3787544

3
pdf.js
View File

@ -4719,6 +4719,7 @@ var IndexedCS = (function() {
return this.base.getRgb(c); return this.base.getRgb(c);
}, },
getRgbBuffer: function indexcs_getRgbBuffer(input) { getRgbBuffer: function indexcs_getRgbBuffer(input) {
var base = this.base;
var numComps = base.numComps; var numComps = base.numComps;
var lookup = this.lookup; var lookup = this.lookup;
var length = input.length; var length = input.length;
@ -4732,7 +4733,7 @@ var IndexedCS = (function() {
} }
} }
return this.base.getRgbBuffer(baseBuf); return base.getRgbBuffer(baseBuf);
} }
}; };
return constructor; return constructor;