diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2019-05-25 12:46:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-25 12:46:50 +0300 |
commit | c0c64138caf25dfd8d8b87e51f36a35311fab823 (patch) | |
tree | 55e1b846d5877a430563f2e630db1ff6ca4ce2c9 | |
parent | 7214f08148d3d93a7f89bb50dec0c558f0e444de (diff) | |
download | UXP-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.
-rw-r--r-- | dom/base/nsNodeInfoManager.cpp | 2 |
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 = |