From: sbarman Date: Wed, 6 Jul 2011 19:53:18 +0000 (-0700) Subject: removed extra restore X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5022e2411cff0025870fcb55d69db02aeafa9e0e;p=pdf.js.git removed extra restore --- diff --git a/pdf.js b/pdf.js index 7d27b65..2de561b 100644 --- a/pdf.js +++ b/pdf.js @@ -4045,7 +4045,6 @@ var CanvasGraphics = (function() { this.transform.apply(this, matrix); var shading = this.getShading(pattern.get("Shading")); - this.restore(); this.ctx.fillStyle = shading; // HACK to get the gradient to show at the right location. If