• ckitagawa's avatar
    Reland "[Paint Preview] Inject PaintPreviewTracker" · 114c5a95
    ckitagawa authored
    Issue was with Linux MSAN un-initialized memory usage of
    is_painting_preview_
    
    Fix: Set a default value of is_painting_preview_ = false.
    
    This is a reland of 2c483e93
    
    Original change's description:
    > [Paint Preview] Inject PaintPreviewTracker
    >
    > Adds the ability to inject paint_preview::PaintPreviewTracker into
    > blink::GraphicsContext to act similarly to printing::MetafileSkia.
    > This class will track various metadata about the Paint Preview
    > capture process.
    >
    > Design Doc: go/fdt-design (internal)
    > Part of Landing: crrev/1786583
    >
    > Bug: 1008885
    > Change-Id: Iba2819491bee7b284de62a1bf888aa9486c788cf
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1829277
    > Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org>
    > Reviewed-by: Ian Vollick <vollick@chromium.org>
    > Auto-Submit: Calder Kitagawa <ckitagawa@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#703720}
    
    Bug: 1008885
    Change-Id: I6eb1c6ee25954bbbc381851a8bf54b759098ac09
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1847941Reviewed-by: default avatarIan Vollick <vollick@chromium.org>
    Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#704154}
    114c5a95
BUILD.gn 77.9 KB