mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
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:
parent
9b4efe2c2f
commit
1b8441dacc
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue