Bug 1607762 - Make the refcount of nsHtml5OwningUTF16Buffer atomic. r=mccr8

Differential Revision: https://phabricator.services.mozilla.com/D92936
This commit is contained in:
Henri Sivonen 2020-10-14 15:29:44 +00:00
parent 384eb82720
commit aeee6b217b

View File

@ -61,7 +61,7 @@ class nsHtml5OwningUTF16Buffer : public nsHtml5UTF16Buffer {
nsrefcnt Release();
private:
nsAutoRefCnt mRefCnt;
mozilla::ThreadSafeAutoRefCnt mRefCnt;
};
#endif // nsHtml5OwningUTF16Buffer_h