commit | 7e5050a49256a7350df9b8d7ad86e911eb83c021 | [log] [tgz] |
---|---|---|
author | Dan Sinclair <dsinclair@chromium.org> | Thu Apr 21 12:57:36 2016 -0400 |
committer | Dan Sinclair <dsinclair@chromium.org> | Thu Apr 21 12:57:36 2016 -0400 |
tree | 5ffc8357e3b382998f94c1177a4a2d594719318d | |
parent | 7ef8719fac859e1d23d667d4c3038ae8b38e4d36 [diff] |
Test files for bug 481. There are 4 types of meshes that attempt to convert the shading object into a stream. According to spec (section 8.7.4.1 table 76), the shading object can be a stream or a dictionary. All of this shading code assumes it can load the mesh from a stream. The original code just early exited if it was not a stream. We skip the call if it is not a stream. BUG=pdfium:481 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1905953002 .