From 727f4372a9b3f8cfd4e8c7077a85b60041090b57 Mon Sep 17 00:00:00 2001 From: Henri Sivonen Date: Wed, 18 Nov 2020 23:28:27 +0000 Subject: [parser] Make the refcount of nsHtml5OwningUTF16Buffer atomic. --- parser/html/nsHtml5OwningUTF16Buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parser/html/nsHtml5OwningUTF16Buffer.h') diff --git a/parser/html/nsHtml5OwningUTF16Buffer.h b/parser/html/nsHtml5OwningUTF16Buffer.h index d7e3200ea..0d8777464 100644 --- a/parser/html/nsHtml5OwningUTF16Buffer.h +++ b/parser/html/nsHtml5OwningUTF16Buffer.h @@ -52,7 +52,7 @@ public: nsrefcnt AddRef(); nsrefcnt Release(); private: - nsAutoRefCnt mRefCnt; + mozilla::ThreadSafeAutoRefCnt mRefCnt; }; #endif // nsHtml5OwningUTF16Buffer_h -- cgit v1.2.3