mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
make HTML parser to use faster atomization in main thread
This commit is contained in:
parent
4a7058c5d1
commit
888381215b
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue