summaryrefslogtreecommitdiffstats
path: root/parser/html/nsHtml5TreeOperation.h
diff options
context:
space:
mode:
Diffstat (limited to 'parser/html/nsHtml5TreeOperation.h')
-rw-r--r--parser/html/nsHtml5TreeOperation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/html/nsHtml5TreeOperation.h b/parser/html/nsHtml5TreeOperation.h
index 0b2970738..a93f44c46 100644
--- a/parser/html/nsHtml5TreeOperation.h
+++ b/parser/html/nsHtml5TreeOperation.h
@@ -108,7 +108,7 @@ class nsHtml5TreeOperation {
}
nsAutoString str;
aAtom->ToString(str);
- return NS_Atomize(str);
+ return NS_AtomizeMainThread(str);
}
static nsresult AppendTextToTextNode(const char16_t* aBuffer,