diff options
author | Lei Zhang <thestig@chromium.org> | 2018-05-30 18:35:31 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-30 18:35:31 +0000 |
commit | 1c0de38c90947694b5d75349802a0b737418afe3 (patch) | |
tree | 7cfa0dc92a1d695e234468f62d87eb1bca10d2fb /testing/unit_test_main.cpp | |
parent | 625255b6f8a6f6ee4b7b1eab8202b47c46659fb7 (diff) | |
download | pdfium-1c0de38c90947694b5d75349802a0b737418afe3.tar.xz |
Exclude certain colorspace types for calculating transparency backdrop color.
Per discussion for the "CS" entry in the PDF 1.7 spec table 7.13, several
types of colorspaces do not meet the requirements of this particular
colorspace entry. In terms of implementation, this avoids hitting a
NOTREACHED() in CPDF_PatternCS::GetRGB().
BUG=chromium:847346
Change-Id: If994a91cdcd84b8977196256ee6926e20c4b74aa
Reviewed-on: https://pdfium-review.googlesource.com/33210
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing/unit_test_main.cpp')
0 files changed, 0 insertions, 0 deletions