summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2015-11-11 16:04:00 -0800
committerOliver Chang <ochang@chromium.org>2015-11-11 16:04:00 -0800
commite21fe98d5b5da7da01503b985b07b90c8e811689 (patch)
tree6ebe0de1e712a4deebea4b706586e3b71e62f222 /BUILD.gn
parente451c6da7c54e39910083e528588d1eba3f33b00 (diff)
downloadpdfium-e21fe98d5b5da7da01503b985b07b90c8e811689.tar.xz
(Reland) 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 R=tsepez@chromium.org, thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/9b99615806e358fdb396d1cb162ee2e69c2a20ec Review URL: https://codereview.chromium.org/1433423002 .
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn3
1 files changed, 2 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index a9d58a174d..bc68804d11 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -153,7 +153,7 @@ source_set("test_support") {
"testing/fx_string_testhelpers.h",
"testing/test_support.cpp",
"testing/test_support.h",
- "testing/utils/path_service.cpp",
+ 'testing/utils/path_service.cpp',
]
deps = [
"//testing/gmock",
@@ -748,6 +748,7 @@ test("pdfium_embeddertests") {
"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_load_image_embeddertest.cpp",
"core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp",
"fpdfsdk/src/fpdf_dataavail_embeddertest.cpp",
"fpdfsdk/src/fpdfdoc_embeddertest.cpp",