mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
fix bug with unref var
This commit is contained in:
parent
15a50e4237
commit
8db3787544
1 changed files with 2 additions and 1 deletions
3
pdf.js
3
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue