diff --git a/src/display/canvas.js b/src/display/canvas.js index 108c961f4..9a75ac3a7 100644 --- a/src/display/canvas.js +++ b/src/display/canvas.js @@ -1665,7 +1665,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { var canvasGraphicsFactory = { createCanvasGraphics: (ctx) => { return new CanvasGraphics(ctx, this.commonObjs, this.objs, - this.canvasFactory); + this.canvasFactory, this.webGLContext); }, }; pattern = new TilingPattern(IR, color, this.ctx, canvasGraphicsFactory, diff --git a/test/pdfs/issue6737.pdf.link b/test/pdfs/issue6737.pdf.link new file mode 100644 index 000000000..9535b64ee --- /dev/null +++ b/test/pdfs/issue6737.pdf.link @@ -0,0 +1 @@ +https://github.com/mozilla/pdf.js/files/55597/Florida.Industrial.MarketView.Q3.2015.pdf diff --git a/test/test_manifest.json b/test/test_manifest.json index 5b5a1764e..227f1c3a7 100644 --- a/test/test_manifest.json +++ b/test/test_manifest.json @@ -602,6 +602,14 @@ "lastPage": 1, "type": "eq" }, + { "id": "issue6737", + "file": "pdfs/issue6737.pdf", + "md5": "6f091967ad15ba63855c56049e86c68b", + "rounds": 1, + "link": true, + "lastPage": 1, + "type": "eq" + }, { "id": "issue5010", "file": "pdfs/issue5010.pdf", "md5": "419f4b13403a0871c463ec69d96e342c",