Chromium Code Reviews
DescriptionRelax colorspace checks in CPDF_DIBSource::CreateDecoder().
Previously the log just made sure the colorspace and the image have
exact matches for the number of colorspace components. Now, for some
colorspace types, check the type and make sure the number of
components meets or exceeds what is required by the spec.
Also do some refactoring.
BUG=chromium:650230
Committed: https://pdfium.googlesource.com/pdfium/+/dc40c40f40ed2415605da32f688091a57f53c9e6
Patch Set 1 #Patch Set 2 : Handle else case like before #
Total comments: 8
Patch Set 3 : rebase #Patch Set 4 : address simple nits #
Messages
Total messages: 18 (9 generated)
|
|||||||||||||||||||||||||||||||||||||