Index: include/private/SkOnce.h |
diff --git a/include/private/SkOnce.h b/include/private/SkOnce.h |
index 5434d9d7d9d37b80d7c1485285c85ed1ebf3577a..34eb79cd77a8d756cf98047f497793d8940c5872 100644 |
--- a/include/private/SkOnce.h |
+++ b/include/private/SkOnce.h |
@@ -83,7 +83,7 @@ static void sk_once_slow(bool* done, Lock* lock, void (*f)(Arg), Arg arg) { |
// |
// We'll use this in the fast path to make sure f(arg)'s effects are |
// observable whenever we observe *done == true. |
- sk_release_store(done, true); |
+ sk_atomic_store(done, true, sk_memory_order_release); |
} |
lock->release(); |
} |