From 96167d2ce66ff1fca87807fd9615df28003d92c8 Mon Sep 17 00:00:00 2001 From: Mack Duan Date: Thu, 4 Apr 2013 12:24:06 -0700 Subject: [PATCH] Remove code that is not being used --- src/worker.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/worker.js b/src/worker.js index a3a2e61a6..49b03e7db 100644 --- a/src/worker.js +++ b/src/worker.js @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/* globals CanvasGraphics, error, globalScope, InvalidPDFException, log, +/* globals error, globalScope, InvalidPDFException, log, MissingPDFException, PasswordException, PDFDocument, PDFJS, Promise, Stream, UnknownErrorException, warn */ @@ -245,11 +245,6 @@ var WorkerMessageHandler = { handler.on('RenderPageRequest', function wphSetupRenderPage(data) { var pageNum = data.pageIndex + 1; - // The following code does quite the same as - // Page.prototype.startRendering, but stops at one point and sends the - // result back to the main thread. - var gfx = new CanvasGraphics(null); - var start = Date.now(); var dependency = [];