diff options
author | Henri Sivonen <hsivonen@hsivonen.fi> | 2020-11-18 23:28:27 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-11-18 23:28:27 +0000 |
commit | 3ce8af5cb2837a63601f87e2f6f0cbf9c5520edb (patch) | |
tree | f88fdec477baee856a75c86e2a51826ea74ae012 | |
parent | d0984dece7e1ac9a5fbdc6eab3f83e478c78d6ef (diff) | |
download | uxp-3ce8af5cb2837a63601f87e2f6f0cbf9c5520edb.tar.gz |
[parser] Make the refcount of nsHtml5OwningUTF16Buffer atomic.
-rw-r--r-- | parser/html/nsHtml5OwningUTF16Buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/html/nsHtml5OwningUTF16Buffer.h b/parser/html/nsHtml5OwningUTF16Buffer.h index d7e3200ea3..0d8777464e 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 |