From 5022e2411cff0025870fcb55d69db02aeafa9e0e Mon Sep 17 00:00:00 2001 From: sbarman Date: Wed, 6 Jul 2011 12:53:18 -0700 Subject: [PATCH] removed extra restore --- pdf.js | 1 - 1 file changed, 1 deletion(-) diff --git a/pdf.js b/pdf.js index 7d27b65c0..2de561bf7 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