]> git.parisson.com Git - pdf.js.git/commitdiff
removed extra restore
authorsbarman <sbarman@L3CWZ5T.(none)>
Wed, 6 Jul 2011 19:53:18 +0000 (12:53 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Wed, 6 Jul 2011 19:53:18 +0000 (12:53 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index 7d27b65c0d1a694a2a826d1b56ec9c44a1b5ea21..2de561bf71bd8b695f57d570403088f20ac5d4a0 100644 (file)
--- 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