Remove dead code from PDFThumbnailView

This commit is contained in:
Jonas Jenwald 2015-01-24 16:29:32 +01:00
parent b7041f81f4
commit 777d69b52e

View File

@ -195,10 +195,6 @@ var PDFThumbnailView = (function PDFThumbnailViewClosure() {
return canvas.getContext('2d'); return canvas.getContext('2d');
}, },
drawingRequired: function PDFThumbnailView_drawingRequired() {
return !this.hasImage;
},
draw: function PDFThumbnailView_draw() { draw: function PDFThumbnailView_draw() {
if (this.renderingState !== RenderingStates.INITIAL) { if (this.renderingState !== RenderingStates.INITIAL) {
console.error('Must be in new state before drawing'); console.error('Must be in new state before drawing');