0
Go to file
Marc Treib 8780c1e265 Revert "Add logic to break PDFiumPage text runs by page objects"
This reverts commit a09403d61c.

Reason for revert: PDFiumPageTextTest.GetTextRunInfo fails on MSan, see crbug.com/996629

Original change's description:
> Add logic to break PDFiumPage text runs by page objects
> 
> This CL introduces a logic to break the text runs whenever a link is
> found while generating the text runs in PDFiumPage::GetTextRunInfo().
> 
> A new method PDFiumPage::CalculatePageObjectTextRunBreaks() is
> introduced which pre-populates a set of text breakpoints according to
> the start and end char indices of links in the page.
> PDFiumPage::GetTextRunInfo() uses that pre-populated set to determine
> the text run boundary.
> 
> This CL includes a unit test to verify the text tuns in a pdf page which
> has a link in between a text block.
> 
> Bug: 981448
> Change-Id: I2365dc84fa1e1206a58cd8fa4e918d660ce8bc00
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1714773
> Reviewed-by: Lei Zhang <thestig@chromium.org>
> Reviewed-by: Kevin Babbitt <kbabbitt@microsoft.com>
> Commit-Queue: Pratish Kumar <prkum@microsoft.com>
> Cr-Commit-Position: refs/heads/master@{#689356}

TBR=thestig@chromium.org,kbabbitt@microsoft.com,manojb@microsoft.com,mohitb@microsoft.com,virens@microsoft.com,ankk@microsoft.com,prkum@microsoft.com

Change-Id: I31ac68a47651ea51fa0dc1b4cc94e1aad9ee63c9
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 981448, 996629
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1763764
Reviewed-by: Marc Treib <treib@chromium.org>
Commit-Queue: Marc Treib <treib@chromium.org>
Cr-Commit-Position: refs/heads/master@{#689387}
2019-08-22 08:31:33 +00:00
2019-07-25 00:36:17 +00:00
2019-08-21 22:33:50 +00:00
2019-08-21 19:47:42 +00:00

Logo Chromium

Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.

The project's web site is https://www.chromium.org.

Documentation in the source is rooted in docs/README.md.

Learn how to Get Around the Chromium Source Code Directory Structure .

Description
Chromium是一个开源浏览器项目,提供了一种安全、快速、稳定的方法来体验Web。该浏览器可以在多个平台上下载,包括Mac、Windows、Linux和ChromiumOS。项目原始地址: https://chromium.googlesource.com/chromium/src.git
https://www.mobibrw.com/gitea-mirrors/chromium/src.git
Readme BSD-3-Clause 89 GiB
Languages
C++ 74.4%
Java 8.2%
Objective-C++ 4.6%
TypeScript 4%
Python 2.5%
Other 6.1%