PDF: Avoid paint invalidates while painting.
PaintManager has a DCHECK that disallows this, but it can happen. To prevent the DCHECK failure, keep track of whether OutOfProcessInstance is painting or not. While painting, defer all invalidation requests until after the painting finishes. Bug: 1021800 Change-Id: I4326106df5c2bba30f8412f4d710aefb04e0aa03 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2154387 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by:Daniel Hosseinian <dhoss@chromium.org> Cr-Commit-Position: refs/heads/master@{#760249}
Showing
Please register or sign in to comment