mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-09 14:54:04 +02:00
Remove unused preInit parameter from the CanvasExtraState constructor (PR 19043 follow-up)
This parameter was added in PR 19043, however it never actually appears to have been used.
This commit is contained in:
parent
777251da85
commit
39dd02cf32
@ -333,11 +333,10 @@ class CanvasExtraState {
|
||||
|
||||
transferMaps = "none";
|
||||
|
||||
constructor(width, height, preInit) {
|
||||
preInit?.(this);
|
||||
minMax = MIN_MAX_INIT.slice();
|
||||
|
||||
constructor(width, height) {
|
||||
this.clipBox = new Float32Array([0, 0, width, height]);
|
||||
this.minMax = MIN_MAX_INIT.slice();
|
||||
}
|
||||
|
||||
clone() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user