Fix typed array assignment in the |constructPostScriptFromIRResult| function (issue 5470)
This commit is contained in:
parent
308646d5f1
commit
1abad5f290
@ -433,7 +433,7 @@ var PDFFunction = (function PDFFunctionClosure() {
|
|||||||
|
|
||||||
var cachedValue = cache[key];
|
var cachedValue = cache[key];
|
||||||
if (cachedValue !== undefined) {
|
if (cachedValue !== undefined) {
|
||||||
cachedValue.set(dest, destOffset);
|
dest.set(cachedValue, destOffset);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -457,7 +457,7 @@ var PDFFunction = (function PDFFunctionClosure() {
|
|||||||
cache_available--;
|
cache_available--;
|
||||||
cache[key] = output;
|
cache[key] = output;
|
||||||
}
|
}
|
||||||
output.set(dest, destOffset);
|
dest.set(output, destOffset);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user