mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-07-31 22:26:36 +08:00
When using `--reverse-byte-order` rendering option, the R and B channels in the backing SkCanvas are already flipped during the construction of Skia rendering device. We no longer needed to flip the byte order in Upsample() calls. Bug: chromium:1396264, pdfium:1955 Change-Id: I272a70a8e588c772044877058cf9739154b86220 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/103110 Commit-Queue: Nigi <nigi@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
2.2 KiB
2.2 KiB