Doesn't traverse cyclic references in Dict.getAll; reduces empty-Dict garbage

This commit is contained in:
Yury Delendik 2014-03-26 09:07:38 -05:00
parent 9a36184dfa
commit 31f081ae17
7 changed files with 93 additions and 18 deletions

View file

@ -249,7 +249,7 @@ function readFontIndexData(aStream, aIsByte) {
}
var Type2Parser = function type2Parser(aFilePath) {
var font = new Dict();
var font = new Dict(null);
var xhr = new XMLHttpRequest();
xhr.open('GET', aFilePath, false);