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:
Jonas Jenwald 2026-03-26 11:07:47 +01:00
parent 777251da85
commit 39dd02cf32

View File

@ -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() {