summaryrefslogtreecommitdiff
path: root/dom/base/nsNodeInfoManager.cpp
diff options
context:
space:
mode:
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 80f0aa786b..985d540b4c 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 =