Don't pass in unused pageColors to CanvasGraphics.endDrawing (PR 16380 follow-up)

This became unnecessary in PR 16380, however we forgot to update one of the API call-sites.
This commit is contained in:
Jonas Jenwald 2023-08-28 16:14:22 +02:00
parent 9b4efe2c2f
commit 1b8441dacc

View File

@ -3437,7 +3437,7 @@ class InternalRenderTask {
if (this.operatorListIdx === this.operatorList.argsArray.length) {
this.running = false;
if (this.operatorList.lastChunk) {
this.gfx.endDrawing(this.pageColors);
this.gfx.endDrawing();
InternalRenderTask.#canvasInUse.delete(this._canvas);
this.callback();