summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-08-04 13:43:05 +0200
committerGitHub <noreply@github.com>2018-08-04 13:43:05 +0200
commit559824514dc95e02fbe81f1786e6ac13ee8e9d55 (patch)
treeaf3abeb615ff855c2bd4f8eb5fa7d8081a5da14a
parent6577d13f01da675718ca5f061914581329c5c7f5 (diff)
parent2370b6a532182699a279c22d8804d786f932fc81 (diff)
downloadUXP-559824514dc95e02fbe81f1786e6ac13ee8e9d55.tar
UXP-559824514dc95e02fbe81f1786e6ac13ee8e9d55.tar.gz
UXP-559824514dc95e02fbe81f1786e6ac13ee8e9d55.tar.lz
UXP-559824514dc95e02fbe81f1786e6ac13ee8e9d55.tar.xz
UXP-559824514dc95e02fbe81f1786e6ac13ee8e9d55.zip
Merge pull request #694 from adeshkp/patch-10
Fix constructor in nsHtml5AtomTable.cpp
-rw-r--r--parser/html/nsHtml5AtomTable.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/parser/html/nsHtml5AtomTable.cpp b/parser/html/nsHtml5AtomTable.cpp
index d9c18485d..ae35791f3 100644
--- a/parser/html/nsHtml5AtomTable.cpp
+++ b/parser/html/nsHtml5AtomTable.cpp
@@ -24,6 +24,7 @@ nsHtml5AtomEntry::~nsHtml5AtomEntry()
}
nsHtml5AtomTable::nsHtml5AtomTable()
+ : mRecentlyUsedParserAtoms{}
{
#ifdef DEBUG
NS_GetMainThread(getter_AddRefs(mPermittedLookupThread));
@@ -31,11 +32,7 @@ nsHtml5AtomTable::nsHtml5AtomTable()
}
nsHtml5AtomTable::~nsHtml5AtomTable()
- : mRecentlyUsedParserAtoms{}
{
-#ifdef DEBUG
- NS_GetMainThread(getter_AddRefs(mPermittedLookupThread));
-#endif
}
nsIAtom*