summaryrefslogtreecommitdiffstats
path: root/dom/base/nsNodeInfoManager.cpp
diff options
context:
space:
mode:
authorMoonchild <git-repo@palemoon.org>2019-05-25 12:32:37 +0000
committerGitHub <noreply@github.com>2019-05-25 12:32:37 +0000
commit915ffc660053cc48153c00dec66b913517dba794 (patch)
tree3342c893aaa82e08e6b019c567f233e48632104f /dom/base/nsNodeInfoManager.cpp
parent72260727093c92eaca78a3ea4d32bfafa49af8c3 (diff)
parentc0c64138caf25dfd8d8b87e51f36a35311fab823 (diff)
downloadUXP-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 'dom/base/nsNodeInfoManager.cpp')
-rw-r--r--dom/base/nsNodeInfoManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/nsNodeInfoManager.cpp b/dom/base/nsNodeInfoManager.cpp
index 80f0aa786..985d540b4 100644
--- a/dom/base/nsNodeInfoManager.cpp
+++ b/dom/base/nsNodeInfoManager.cpp
@@ -281,7 +281,7 @@ nsNodeInfoManager::GetNodeInfo(const nsAString& aName, nsIAtom *aPrefix,
return NS_OK;
}
- nsCOMPtr<nsIAtom> nameAtom = NS_Atomize(aName);
+ nsCOMPtr<nsIAtom> nameAtom = NS_AtomizeMainThread(aName);
NS_ENSURE_TRUE(nameAtom, NS_ERROR_OUT_OF_MEMORY);
RefPtr<NodeInfo> newNodeInfo =