Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Windows function patching for PDFium component builds
This is necessary for landing [1], which makes PDFium a component. The previous reland [2] broke Windows debug builds because InitializePDF() in pdf_child_init.cc tried to patch chrome.exe instead of (the new) pdfium.dll. This change makes InitializePDF() patch the correct binary. Verified this fixes the Debug build with the PDFium patch applied at [3]. [1] https://pdfium-review.googlesource.com/c/pdfium/+/53910 [2] https://pdfium-review.googlesource.com/c/pdfium/+/53731 [3] https://chromium-review.googlesource.com/c/chromium/src/+/1592280 BUG=chromium:941663 R=thestig Change-Id: Ief97f62fe4c0dd70c8cbea4b76494906c4205247 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1591662 Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#657025}
- Loading branch information