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:
parent
c9934de87c
commit
02a1d0f6c5
@ -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),
|
||||
|
@ -609,7 +609,7 @@ var OperatorList = (function OperatorListClosure() {
|
||||
var CHUNK_SIZE_ABOUT = CHUNK_SIZE - 5; // close to chunk size
|
||||
|
||||
// eslint-disable-next-line no-shadow
|
||||
function OperatorList(intent, streamSink, pageIndex) {
|
||||
function OperatorList(intent, streamSink) {
|
||||
this._streamSink = streamSink;
|
||||
this.fnArray = [];
|
||||
this.argsArray = [];
|
||||
@ -620,8 +620,6 @@ var OperatorList = (function OperatorListClosure() {
|
||||
}
|
||||
this.dependencies = Object.create(null);
|
||||
this._totalLength = 0;
|
||||
this.pageIndex = pageIndex;
|
||||
this.intent = intent;
|
||||
this.weight = 0;
|
||||
this._resolved = streamSink ? null : Promise.resolve();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user