Use a more compact typed array to pass the image mask from the worker to the main thread.

This commit is contained in:
Nicholas Nethercote 2014-01-13 20:08:39 -06:00 committed by Yury Delendik
parent dabafb8444
commit 3f533a1cb0
3 changed files with 44 additions and 22 deletions

View file

@ -262,8 +262,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
var inverseDecode = !!decode && decode[0] > 0;
operatorList.addOp(OPS.paintImageMaskXObject,
[PDFImage.createMask(imgArray, width, height,
inverseDecode)]
[PDFImage.createMask(imgArray, width, height, inverseDecode)]
);
return;
}