diff options
author | Moonchild <git-repo@palemoon.org> | 2019-05-25 12:32:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-25 12:32:37 +0000 |
commit | 915ffc660053cc48153c00dec66b913517dba794 (patch) | |
tree | 3342c893aaa82e08e6b019c567f233e48632104f /parser/html | |
parent | 72260727093c92eaca78a3ea4d32bfafa49af8c3 (diff) | |
parent | c0c64138caf25dfd8d8b87e51f36a35311fab823 (diff) | |
download | UXP-915ffc660053cc48153c00dec66b913517dba794.tar UXP-915ffc660053cc48153c00dec66b913517dba794.tar.gz UXP-915ffc660053cc48153c00dec66b913517dba794.tar.lz UXP-915ffc660053cc48153c00dec66b913517dba794.tar.xz UXP-915ffc660053cc48153c00dec66b913517dba794.zip |
Merge pull request #1115 from win7-7/NS_Atomize-cache
Add NS_Atomize cache for main thread use
Diffstat (limited to 'parser/html')
-rw-r--r-- | parser/html/nsHtml5TreeOperation.h | 2 |
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, |