
This CL extends the work in http://crrev.com/c/1714773 for highlights. The set of text breakpoints in PDFiumPage::CalculatePageObjectTextRunBreaks() are extended to include highlight end points as well. PDFiumPage::GetTextRunInfo() uses this set to determine text run boundaries. A unit test validating this change for highlights has been added. Bug: 1008775 Change-Id: Ib7c66395aec6897af374e7ad6feb993f8f7dc9c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928374 Commit-Queue: Kalpak Tapas <katapas@microsoft.com> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#718125}