• Brian Sheedy's avatar
    Fix Gold deleted JSON issue · 506ac23c
    Brian Sheedy authored
    Fixes an issue in the Skia Gold Python code where if initialization
    failed the first time, subsequent attempts would fail due to trying to
    use a potentially deleted JSON file. This is fixed by making a copy on
    object creation that is used instead of the provided file.
    
    Bug: 1077274
    Change-Id: I03ca402ed27bfedf81de320863c6c1946733b46e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2419691
    Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
    Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org>
    Reviewed-by: default avatarTibor Goldschwendt <tiborg@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#808985}
    506ac23c
gold_utils_test.py 4.85 KB