0

Roll src/third_party/pdfium/ 4bd03e886..8da982383 (1 commit)

https://pdfium.googlesource.com/pdfium.git/+log/4bd03e886ac4..8da9823839e8

Do minimal updates in the Chromium PDF Viewer to use the modified APIs.

Created with:
  roll-dep src/third_party/pdfium

Tbr: tsepez@chromium.org
Change-Id: I4c709343b1329b2aa972956b26e312d6d73185a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1962571
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#724337}
This commit is contained in:
Lei Zhang
2019-12-12 21:28:02 +00:00
committed by Commit Bot
parent b2ad644037
commit 3b9a33715b
2 changed files with 3 additions and 2 deletions

2
DEPS

@ -195,7 +195,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': '4bd03e886ac45e84e7d1dbf56f6d860f6e5552a5',
'pdfium_revision': '8da9823839e8beccea92cd88455c1c67aa9f9a84',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling BoringSSL
# and whatever else without interference from each other.

@ -3510,8 +3510,9 @@ bool PDFiumEngine::IsPointInEditableFormTextArea(FPDF_PAGE page,
form_type == FPDF_FORMFIELD_XFA_COMBOBOX;
#endif // defined(PDF_ENABLE_XFA)
const FS_POINTF point = {page_x, page_y};
ScopedFPDFAnnotation annot(
FPDFAnnot_GetFormFieldAtPoint(form(), page, page_x, page_y));
FPDFAnnot_GetFormFieldAtPoint(form(), page, &point));
if (!annot)
return false;