0

Roll src/third_party/pdfium/ 2fc79bcad..d661dc75c (1 commit)

https://pdfium.googlesource.com/pdfium.git/+log/2fc79bcadc23..d661dc75c803

$ git log 2fc79bcad..d661dc75c --date=short --no-merges --format='%ad %ae %s'
2021-06-24 tsepez CStretchEngine: ensure sum of pixel weights is kFixedPointOne.

Then update PDFiumPrintTest.AlterScaling test expectations to match the
new rendering. The difference is just rounding errors that are very hard
to see.

Created with:
  roll-dep src/third_party/pdfium

Change-Id: Idf16c73487e0555d1283d74c0a016a3879612295
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2986363
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Daniel Hosseinian <dhoss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#895932}
This commit is contained in:
Lei Zhang
2021-06-25 05:39:45 +00:00
committed by Chromium LUCI CQ
parent f64dc49b4d
commit 89c6181d34
2 changed files with 4 additions and 4 deletions

2
DEPS

@ -242,7 +242,7 @@ vars = {
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling PDFium
# and whatever else without interference from each other.
'pdfium_revision': '2fc79bcadc2317a06cdd8102dbd75fbc02d9a9bc',
'pdfium_revision': 'd661dc75c80391fc0cafccee013f078a3207efca',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling BoringSSL
# and whatever else without interference from each other.

@ -161,7 +161,7 @@ TEST_F(PDFiumPrintTest, AlterScaling) {
// Default scaling
static constexpr char kChecksum[] = "40e2e16416015cdde5c6e5735c1d06ac";
static constexpr char kChecksumRaster[] =
"1ab7bfd2c59f6ffb7b1eb0885a9cf18d";
"535659885de1ba060222cb13df995ca7";
std::vector<uint8_t> pdf_data = print.PrintPagesAsPdf(pages, print_params);
CheckPdfDimensions(pdf_data, kExpectedDimensions);
@ -180,7 +180,7 @@ TEST_F(PDFiumPrintTest, AlterScaling) {
static constexpr char kChecksum[] = "41847e1f0c581150a84794482528f790";
static constexpr char kChecksumRaster[] =
"f8c460d4b1a57e6dc580b88aadc73653";
"63e36d3b991bbd3126fbb6f6c95af336";
std::vector<uint8_t> pdf_data = print.PrintPagesAsPdf(pages, print_params);
CheckPdfDimensions(pdf_data, kExpectedDimensions);
@ -199,7 +199,7 @@ TEST_F(PDFiumPrintTest, AlterScaling) {
static constexpr char kChecksum[] = "3a4828228bcbae230574c057b7a0669e";
static constexpr char kChecksumRaster[] =
"93b20afea37f1ec437061c7affc03918";
"3ca8f6ead6fe5e41b5e2d8817bedecbb";
std::vector<uint8_t> pdf_data = print.PrintPagesAsPdf(pages, print_params);
CheckPdfDimensions(pdf_data, kExpectedDimensions);