From 777d69b52ed2196cb69c851c07ae39421498ab65 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sat, 24 Jan 2015 16:29:32 +0100 Subject: [PATCH] Remove dead code from PDFThumbnailView --- web/pdf_thumbnail_view.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/pdf_thumbnail_view.js b/web/pdf_thumbnail_view.js index 9a1e23db9..dc5da0f83 100644 --- a/web/pdf_thumbnail_view.js +++ b/web/pdf_thumbnail_view.js @@ -195,10 +195,6 @@ var PDFThumbnailView = (function PDFThumbnailViewClosure() { return canvas.getContext('2d'); }, - drawingRequired: function PDFThumbnailView_drawingRequired() { - return !this.hasImage; - }, - draw: function PDFThumbnailView_draw() { if (this.renderingState !== RenderingStates.INITIAL) { console.error('Must be in new state before drawing');