diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2015-10-27 12:19:11 -0400 |
---|---|---|
committer | Dan Sinclair <dsinclair@chromium.org> | 2015-10-27 12:19:11 -0400 |
commit | 431ba1865443e5cba4dabc74e61ece4daba11b5b (patch) | |
tree | 39ed3ce4e0d1b36c0fe9ffce6a0d0a2925fb4ea0 /testing/embedder_test_mock_delegate.h | |
parent | 88e28aa259bc0f318cccf17eebabd3c887a15a46 (diff) | |
download | pdfium-431ba1865443e5cba4dabc74e61ece4daba11b5b.tar.xz |
Merge to XFA: Type 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
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1421973004 .
(cherry picked from commit 4ef782ab57979add3e3910d6bcfde6ef59f65724)
Review URL: https://codereview.chromium.org/1422253002 .
Diffstat (limited to 'testing/embedder_test_mock_delegate.h')
0 files changed, 0 insertions, 0 deletions