mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Remove operatorList cache from the backend
This commit is contained in:
parent
357805696b
commit
f701a1427a
2 changed files with 7 additions and 9 deletions
|
@ -132,11 +132,6 @@ var Page = (function PageClosure() {
|
|||
},
|
||||
|
||||
getOperatorList: function Page_getOperatorList(handler, dependency) {
|
||||
if (this.operatorList) {
|
||||
// content was compiled
|
||||
return this.operatorList;
|
||||
}
|
||||
|
||||
var xref = this.xref;
|
||||
var content = this.content;
|
||||
var resources = this.resources;
|
||||
|
@ -154,8 +149,7 @@ var Page = (function PageClosure() {
|
|||
var pe = this.pe = new PartialEvaluator(
|
||||
xref, handler, 'p' + this.pageNumber + '_');
|
||||
|
||||
this.operatorList = pe.getOperatorList(content, resources, dependency);
|
||||
return this.operatorList;
|
||||
return pe.getOperatorList(content, resources, dependency);
|
||||
},
|
||||
|
||||
getLinks: function Page_getLinks() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue