summaryrefslogtreecommitdiff
path: root/pdfium.gyp
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2015-11-11 16:41:26 -0800
committerOliver Chang <ochang@chromium.org>2015-11-11 16:41:26 -0800
commit46bed62931ffc9e482525de4525a6e54043c6899 (patch)
treee8ebd207cb990ecacbdef7f5c8b8bb1e068b04f8 /pdfium.gyp
parent945fdb70f022952e9ed53847649226369352920a (diff)
downloadpdfium-46bed62931ffc9e482525de4525a6e54043c6899.tar.xz
Merge to XFA: Fix extraction of colour components in CPDF_DIBSource::DownSampleScanline32Bit
Previously, if |m_bpc| was < 8 (e.g. 4), this function may still try to access the source components as if |m_bpc| == 8. Even when it fell into the codepath that tried to do the right thing in this case, it was wrong. BUG=554151 TBR=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/9b99615806e358fdb396d1cb162ee2e69c2a20ec Review URL: https://codereview.chromium.org/1433423002 . (cherry picked from commit e21fe98d5b5da7da01503b985b07b90c8e811689) Review URL: https://codereview.chromium.org/1441563002 .
Diffstat (limited to 'pdfium.gyp')
-rw-r--r--pdfium.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdfium.gyp b/pdfium.gyp
index a92e67a244..540b684b7a 100644
--- a/pdfium.gyp
+++ b/pdfium.gyp
@@ -801,6 +801,7 @@
'core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp',
'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp',
'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp',
+ 'core/src/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp',
'core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp',
'fpdfsdk/src/fpdf_dataavail_embeddertest.cpp',
'fpdfsdk/src/fpdfdoc_embeddertest.cpp',