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

Merge pull request #5162 from yurydelendik/pramodhkp-fixupgstate2

[SVG] Reduces amount of used memory during PNG creation.
This commit is contained in:
Yury Delendik 2014-08-09 15:56:11 -05:00
commit 99b08ed223
2 changed files with 303 additions and 22 deletions

View file

@ -1865,7 +1865,9 @@ var OperatorList = (function OperatorListClosure() {
},
flush: function(lastChunk) {
new QueueOptimizer().optimize(this);
if (this.intent !== 'oplist') {
new QueueOptimizer().optimize(this);
}
var transfers = getTransfers(this);
this.messageHandler.send('RenderPageChunk', {
operatorList: {