Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move some checks to PDFiumEngine::AppendPage()
Make PDFiumEngine::AppendPage() check its input parameters, instead of the caller. Change these DCHECKs into CHECKs, per modern coding guidance, since they are cheap to run. This also helps to catch a rare crash where it looks as though the impossible has happened. Bug: 1488743 Change-Id: Ia491b20b771beebc0cd968908873228793e86698 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903239 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Nigi <nigi@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204952}
- Loading branch information