summaryrefslogtreecommitdiffstats
path: root/dom/base/nsNodeInfoManager.cpp
diff options
context:
space:
mode:
authorwin7-7 <win7-7@users.noreply.github.com>2019-05-25 12:46:50 +0300
committerGitHub <noreply@github.com>2019-05-25 12:46:50 +0300
commitc0c64138caf25dfd8d8b87e51f36a35311fab823 (patch)
tree55e1b846d5877a430563f2e630db1ff6ca4ce2c9 /dom/base/nsNodeInfoManager.cpp
parent7214f08148d3d93a7f89bb50dec0c558f0e444de (diff)
downloadUXP-c0c64138caf25dfd8d8b87e51f36a35311fab823.tar
UXP-c0c64138caf25dfd8d8b87e51f36a35311fab823.tar.gz
UXP-c0c64138caf25dfd8d8b87e51f36a35311fab823.tar.lz
UXP-c0c64138caf25dfd8d8b87e51f36a35311fab823.tar.xz
UXP-c0c64138caf25dfd8d8b87e51f36a35311fab823.zip
change for nsNodeInfoManager.cpp
based to patch for https://bugzilla.mozilla.org/show_bug.cgi?id=1352235 v1 add main thread only cache.
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 =