0
Files
src/pdf
Lei Zhang 2c132c6eb2 [PDF] Improve result checking for a few PDFium API calls
In pdfium_ink_writer.cc, use the correct return type for a
FPDFPageObj_AddMark() call. It does not return a bool.

In pdfium_searchify.cc, CHECK() the result for a couple of PDFium API
calls that should never fail, instead of returning early.

Change-Id: I17a8548c793543469ae418fa46d5a60a6103809d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5905559
Reviewed-by: Alan Screen <awscreen@chromium.org>
Reviewed-by: Chu-Hsuan Yang <chuhsuan@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1363483}
2024-10-03 05:08:55 +00:00
..
2024-09-18 14:23:33 +00:00

//pdf contains the PDF plugin, its Blink-based replacement, as well as PDF utility functions that leverage PDFium. It can use low-level components that live below the content layer, as well as other foundational code like //printing. It should not use //content or anything in //components that lives above the content layer. Code that lives above the content layer should live in //components/pdf, or in the embedder. All the code here should run in sandboxed child processes.

TODO(crbug.com/40186598): Remove existing //content dependencies.