Merge pull request #8756 from Snuffleupagus/evaluator-paintXObject-rm-code-property
Remove leftover `args[0].code` checks from the `OPS.paintXObject` cases in evaluator.js
This commit is contained in:
commit
a1d88d8e2e
@ -915,9 +915,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|||||||
|
|
||||||
switch (fn | 0) {
|
switch (fn | 0) {
|
||||||
case OPS.paintXObject:
|
case OPS.paintXObject:
|
||||||
if (args[0].code) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
// eagerly compile XForm objects
|
// eagerly compile XForm objects
|
||||||
var name = args[0].name;
|
var name = args[0].name;
|
||||||
if (!name) {
|
if (!name) {
|
||||||
@ -1631,10 +1628,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|||||||
break;
|
break;
|
||||||
case OPS.paintXObject:
|
case OPS.paintXObject:
|
||||||
flushTextContentItem();
|
flushTextContentItem();
|
||||||
if (args[0].code) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!xobjs) {
|
if (!xobjs) {
|
||||||
xobjs = (resources.get('XObject') || Dict.empty);
|
xobjs = (resources.get('XObject') || Dict.empty);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user