]> git.parisson.com Git - pdf.js.git/commitdiff
clean up tiling
authorsbarman <sbarman@L3CWZ5T.(none)>
Sat, 18 Jun 2011 00:48:44 +0000 (17:48 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Sat, 18 Jun 2011 00:48:44 +0000 (17:48 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index 9c8b7e6a061066b535ba246c9de1085bc2316348..20a91d9affd0242665ce75700682ed6954f08743 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -2184,8 +2184,9 @@ var CanvasGraphics = (function() {
                 error("Unsupported paint type");
             } else {
                 // should go to default for color space
-                this.ctx.fillStyle = this.makeCssRgb(1, 1, 1);
-                this.ctx.strokeStyle = this.makeCssRgb(0, 0, 0);
+                var ctx = this.ctx;
+                ctx.fillStyle = this.makeCssRgb(1, 1, 1);
+                ctx.strokeStyle = this.makeCssRgb(0, 0, 0);
             }
 
             // not sure what to do with this