commit | 003b56ea646dd2f4c0d604f03eae532c52ec2f81 | [log] [tgz] |
---|---|---|
author | Lei Zhang <[email protected]> | Thu Feb 20 20:43:12 2025 |
committer | Chromium LUCI CQ <[email protected]> | Thu Feb 20 20:43:12 2025 |
tree | 9c28724af493cddbe39b5cb1aaf6771325745d8a | |
parent | 3ea9a63ba1243de0c4e08f0e38884bb8da2351e4 [diff] |
[PDF Ink Signatures] Deactivate Ink strokes before rendering thumbnails For PDF thumbnails, PDFiumEngine::RequestThumbnail() should be drawing the original thumbnail, without any Ink strokes. PdfInkModule::DrawThumbnail() separately draws the Ink strokes as another layer on top of the original thumbnail. With the work in https://crbug.com/335517469, now the PDF loaded in PDFiumEngine contains Ink strokes, so refreshing PDF thumbnails will end up rendering the Ink strokes twice. Fix this by temporarily deactivating the page objects associated with Ink strokes for a given page when generating the thumbnail for that page. Bug: 395766076 Change-Id: I565df2f21b3fae8cf6ebe4df44149f3709fe149a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6271523 Commit-Queue: Lei Zhang <[email protected]> Reviewed-by: Alan Screen <[email protected]> Cr-Commit-Position: refs/heads/main@{#1422737}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.