Remove a redundant /XObject
stream dictionary objId
check in PartialEvaluator.hasBlendModes
(PR 6971 follow-up)
This case should no longer happen, given the `instanceof Ref` branch just above (added in PR 6971). Also, I've run the entire test-suite locally with `continue` replaced by `throw new Error(...)` and didn't find any problems.
This commit is contained in:
parent
84476da26e
commit
15fa3f8518
@ -328,9 +328,6 @@ class PartialEvaluator {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (xObject.dict.objId) {
|
if (xObject.dict.objId) {
|
||||||
if (processed[xObject.dict.objId]) {
|
|
||||||
continue; // Stream has objId and was processed already.
|
|
||||||
}
|
|
||||||
processed[xObject.dict.objId] = true;
|
processed[xObject.dict.objId] = true;
|
||||||
}
|
}
|
||||||
var xResources = xObject.dict.get("Resources");
|
var xResources = xObject.dict.get("Resources");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user