summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_ffpageview.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-21 10:54:40 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-21 10:54:40 -0700
commit4f70b53efb39e9b9b868d99999582282be57fe50 (patch)
tree867e3657783d5a646c616e1502502cbb0950652a /xfa/fxfa/app/xfa_ffpageview.cpp
parent691411873cb16eb82d5912d0f73b96310f632932 (diff)
downloadpdfium-4f70b53efb39e9b9b868d99999582282be57fe50.tar.xz
Only call shading code with streams.
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 Review URL: https://codereview.chromium.org/1908903003
Diffstat (limited to 'xfa/fxfa/app/xfa_ffpageview.cpp')
0 files changed, 0 insertions, 0 deletions