-
Maggie Chen authored
in_gpu_initialization_ was set by the GPU main thread and read by the watchdog thread. This caused data race. This CL fixes it by setting the flag in the watchdog thread only after the init in the constructor. Bug:1029475, 1028946 Change-Id: I5c38a2af70962e0d68880e930b6657f7107d2def Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1943545Reviewed-by:
Zhenyao Mo <zmo@chromium.org> Commit-Queue: Maggie Chen <magchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#720748}
cf41e292