diff options
author | Henri Sivonen <hsivonen@hsivonen.fi> | 2020-11-18 23:28:27 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-11-19 22:46:06 +0000 |
commit | 727f4372a9b3f8cfd4e8c7077a85b60041090b57 (patch) | |
tree | 9519e315fe614d5582b74a6966c7cc008af5ebf5 | |
parent | 556a15567d9de0d019065eeb27597acf2d760ef5 (diff) | |
download | UXP-727f4372a9b3f8cfd4e8c7077a85b60041090b57.tar UXP-727f4372a9b3f8cfd4e8c7077a85b60041090b57.tar.gz UXP-727f4372a9b3f8cfd4e8c7077a85b60041090b57.tar.lz UXP-727f4372a9b3f8cfd4e8c7077a85b60041090b57.tar.xz UXP-727f4372a9b3f8cfd4e8c7077a85b60041090b57.zip |
[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 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 |