From 34e873c29073bfead40944f1105648b0f3900de9 Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Wed, 3 May 2000 23:42:58 +0000 Subject: [PATCH] Must use string literal for named references. --- content/base/src/nsGenericDOMDataNode.cpp | 3 --- layout/base/src/nsGenericDOMDataNode.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/content/base/src/nsGenericDOMDataNode.cpp b/content/base/src/nsGenericDOMDataNode.cpp index 77615b43caa..add319e0bf9 100644 --- a/content/base/src/nsGenericDOMDataNode.cpp +++ b/content/base/src/nsGenericDOMDataNode.cpp @@ -509,9 +509,6 @@ nsGenericDOMDataNode::GetScriptObject(nsIContent *aOuterContent, aContext, aOuterContent, mParent, (void**)&mScriptObject); if (nsnull != mDocument) { - nsAutoString nodeName; - char nameBuf[128]; - aContext->AddNamedReference((void *)&mScriptObject, mScriptObject, "nsGenericDOMDataNode::mScriptObject"); diff --git a/layout/base/src/nsGenericDOMDataNode.cpp b/layout/base/src/nsGenericDOMDataNode.cpp index 77615b43caa..add319e0bf9 100644 --- a/layout/base/src/nsGenericDOMDataNode.cpp +++ b/layout/base/src/nsGenericDOMDataNode.cpp @@ -509,9 +509,6 @@ nsGenericDOMDataNode::GetScriptObject(nsIContent *aOuterContent, aContext, aOuterContent, mParent, (void**)&mScriptObject); if (nsnull != mDocument) { - nsAutoString nodeName; - char nameBuf[128]; - aContext->AddNamedReference((void *)&mScriptObject, mScriptObject, "nsGenericDOMDataNode::mScriptObject");