Skip to content
Snippets Groups Projects
Commit 9d7218aa authored by Kelsey Gilbert's avatar Kelsey Gilbert Committed by Pier Angelo Vendrame
Browse files

Bug 1819497 - Don't race on static bool for initialization. r=gfx-reviewers,aosmond

We could do non-racy static init here (e.g. with a static initializer
self-calling-closure), but there doesn't seem to be a strong reason for
this. Let's just use a switch and get robustness from -Werror=switch.

Differential Revision: https://phabricator.services.mozilla.com/D188054
parent 9c6b8dd5
Branches
Tags
1 merge request!126MB 310: Rebased MB 13.0 onto 115.12.0esr
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment