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

Remove the unused intent/pageIndex properties from OperatorList instances (PR 11069 follow-up)

Apparently I completely overlooked the fact that with the changes in PR 11069 these properties became *completely* unused, and consequently they thus ought to be removed.
This commit is contained in:
Jonas Jenwald 2020-06-11 16:05:38 +02:00
parent c9934de87c
commit 02a1d0f6c5
2 changed files with 2 additions and 4 deletions

View file

@ -270,7 +270,7 @@ class Page {
const dataPromises = Promise.all([contentStreamPromise, resourcesPromise]);
const pageListPromise = dataPromises.then(([contentStream]) => {
const opList = new OperatorList(intent, sink, this.pageIndex);
const opList = new OperatorList(intent, sink);
handler.send("StartRenderPage", {
transparency: partialEvaluator.hasBlendModes(this.resources),