summaryrefslogtreecommitdiff
path: root/parser
diff options
context:
space:
mode:
authorwin7-7 <win7-7@users.noreply.github.com>2019-05-24 14:05:09 +0300
committerGitHub <noreply@github.com>2019-05-24 14:05:09 +0300
commit4bdc447eae5fa7ee655b06954ae7a80ac5717cce (patch)
treeef5687420900fb770eed0460430404bcafd96ffb /parser
parent0d700b4187be8e3d0f4a7f107bcec3246d20bef6 (diff)
downloaduxp-4bdc447eae5fa7ee655b06954ae7a80ac5717cce.tar.gz
make HTML parser to use faster atomization in main thread
Diffstat (limited to 'parser')
-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 0b2970738e..a93f44c46f 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,