summaryrefslogtreecommitdiff
path: root/parser
diff options
context:
space:
mode:
authorHenri Sivonen <hsivonen@hsivonen.fi>2020-11-18 23:28:27 +0000
committerMoonchild <moonchild@palemoon.org>2020-11-18 23:28:27 +0000
commit4782e8dfa2a5863f84c66f405c48eb2b99ac3622 (patch)
treef88fdec477baee856a75c86e2a51826ea74ae012 /parser
parentbd061ac043c66ee0de289f5af37a4895afc57bca (diff)
downloaduxp-4782e8dfa2a5863f84c66f405c48eb2b99ac3622.tar.gz
[parser] Make the refcount of nsHtml5OwningUTF16Buffer atomic.
Diffstat (limited to 'parser')
-rw-r--r--parser/html/nsHtml5OwningUTF16Buffer.h2
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