From e80a8e6e2bdffca1ee51a40e4fde932163917751 Mon Sep 17 00:00:00 2001 From: sbarman Date: Fri, 17 Jun 2011 17:48:44 -0700 Subject: [PATCH] clean up tiling --- pdf.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pdf.js b/pdf.js index 9c8b7e6a0..20a91d9af 100644 --- 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