From 2259db6f0ca88c27f807d3b431c758efad14b604 Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Thu, 27 Apr 2000 06:44:13 +0000 Subject: [PATCH] Fix memory churn caused by implicit nsString ctor. --- content/xul/document/src/nsXULDocument.h | 2 +- rdf/content/src/nsXULDocument.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/xul/document/src/nsXULDocument.h b/content/xul/document/src/nsXULDocument.h index 2ae7051cc65..7b146f24889 100644 --- a/content/xul/document/src/nsXULDocument.h +++ b/content/xul/document/src/nsXULDocument.h @@ -420,7 +420,7 @@ protected: RemoveElementFromMap(nsIContent* aElement); static PRIntn - RemoveElementsFromMapByContent(const nsString& aID, + RemoveElementsFromMapByContent(const PRUnichar* aID, nsIContent* aElement, void* aClosure); diff --git a/rdf/content/src/nsXULDocument.h b/rdf/content/src/nsXULDocument.h index 2ae7051cc65..7b146f24889 100644 --- a/rdf/content/src/nsXULDocument.h +++ b/rdf/content/src/nsXULDocument.h @@ -420,7 +420,7 @@ protected: RemoveElementFromMap(nsIContent* aElement); static PRIntn - RemoveElementsFromMapByContent(const nsString& aID, + RemoveElementsFromMapByContent(const PRUnichar* aID, nsIContent* aElement, void* aClosure);