fix bug with unref var
This commit is contained in:
parent
15a50e4237
commit
8db3787544
3
pdf.js
3
pdf.js
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user