From 8dd16259287f58f9273002717ec4d27e97127719 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:43:14 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- mfbt/tests/TestRefPtr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mfbt/tests/TestRefPtr.cpp') diff --git a/mfbt/tests/TestRefPtr.cpp b/mfbt/tests/TestRefPtr.cpp index 972e284c44..489b120ae2 100644 --- a/mfbt/tests/TestRefPtr.cpp +++ b/mfbt/tests/TestRefPtr.cpp @@ -20,7 +20,7 @@ class Foo : public RefCounted { static int sNumDestroyed; ~Foo() { - MOZ_ASSERT(!mDead); + MOZ_RELEASE_ASSERT(!mDead); mDead = true; sNumDestroyed++; } -- cgit v1.2.3