
The change in https://crrev.com/1433897 to avoid flashing after stroke
completion can still sometimes have a flash. Be more aggressive in the
retainment of the Ink input snapshot, and only drop it once a call to
PdfViewWebPlugin::Paint() confirms that it is not needed.
(cherry picked from commit 252b68222a
)
Bug: 380057101
Fixed: 405119256
Change-Id: Iacfe3cc29f16461fdadb7b33fccdbced9694d0b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6367699
Commit-Queue: Alan Screen <awscreen@chromium.org>
Reviewed-by: Andy Phan <andyphan@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#1434635}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6377669
Cr-Commit-Position: refs/branch-heads/7049@{#1075}
Cr-Branched-From: 2dab7846d0951a552bdc4f350dad497f986e6fed-refs/heads/main@{#1427262}
//pdf
contains the PDF plugin, its Blink-based replacement, as well as PDF
utility functions that leverage PDFium. It can use low-level components that
live below the content layer, as well as other foundational code like
//printing
. It should not use //content
or anything in //components
that
lives above the content layer. Code that lives above the content layer should
live in //components/pdf
, or in the embedder. All the code here should run in
sandboxed child processes.
TODO(crbug.com/40186598): Remove existing //content
dependencies.