1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Address Yury's comments.

This commit is contained in:
Brendan Dahl 2011-12-01 09:11:33 -08:00
parent cddb106358
commit 3ae06c96ad
3 changed files with 4 additions and 3 deletions

View file

@ -75,10 +75,11 @@ var WorkerMessageHandler = {
var start = Date.now();
var dependency = [];
var IRQueue = null;
try {
var page = pdfDoc.getPage(pageNum);
// Pre compile the pdf page and fetch the fonts/images.
var IRQueue = page.getIRQueue(handler, dependency);
IRQueue = page.getIRQueue(handler, dependency);
} catch (e) {
// Turn the error into an obj that can be serialized
e = {