summaryrefslogtreecommitdiffstats
path: root/parser/html/nsHtml5TreeOperation.h
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
commita371a69a73ebcd542ceb42927ce2859b0d326c98 (patch)
treeef5687420900fb770eed0460430404bcafd96ffb /parser/html/nsHtml5TreeOperation.h
parent58ff91d97e90094e18ec335a5e19bbd95fff0bd9 (diff)
downloadUXP-a371a69a73ebcd542ceb42927ce2859b0d326c98.tar
UXP-a371a69a73ebcd542ceb42927ce2859b0d326c98.tar.gz
UXP-a371a69a73ebcd542ceb42927ce2859b0d326c98.tar.lz
UXP-a371a69a73ebcd542ceb42927ce2859b0d326c98.tar.xz
UXP-a371a69a73ebcd542ceb42927ce2859b0d326c98.zip
make HTML parser to use faster atomization in main thread
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,