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

Address review comments by yury

This commit is contained in:
Julian Viereck 2011-12-07 19:03:13 +01:00
parent 97802aac64
commit af8e2a1189
3 changed files with 10 additions and 9 deletions

View file

@ -589,7 +589,7 @@ var XRef = (function xRefXRef() {
e = parser.getObj();
}
// Don't cache streams since they are mutable (except images).
if (!isStream(e) || e.src)
if (!isStream(e) || e instanceof JpegStream)
this.cache[num] = e;
return e;
}