DescriptionType check the m_pShadingObj before assuming it's a stream.
The m_pShadingObj can be a stream or a dictionary depending on how it's used.
This CL adds some simple type checking to make sure that the type of the
object matches what we expect.
BUG=chromium:547706
R=tsepez@chromium.org
Committed: https://pdfium.googlesource.com/pdfium/+/4ef782ab57979add3e3910d6bcfde6ef59f65724
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : #
Messages
Total messages: 6 (2 generated)
|