From 0a12e70c6bc48192424d19135ddfc1a6099c2f04 Mon Sep 17 00:00:00 2001 From: "dbaron%fas.harvard.edu" Date: Sun, 17 Jun 2001 07:29:31 +0000 Subject: [PATCH] Fix bustage from scc's checkin for bug 85271. r=scc --- extensions/inspector/base/src/nsDOMDataSource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/inspector/base/src/nsDOMDataSource.cpp b/extensions/inspector/base/src/nsDOMDataSource.cpp index 6817780ae1d0..0c0a16381acf 100644 --- a/extensions/inspector/base/src/nsDOMDataSource.cpp +++ b/extensions/inspector/base/src/nsDOMDataSource.cpp @@ -284,8 +284,8 @@ nsDOMDataSource::GetURI(char** aURI) NS_PRECONDITION(aURI != nsnull, "null ptr"); if (!aURI) return NS_ERROR_NULL_POINTER; - *aURI = nsXPIDLCString::Copy("rdf:ins_domds"); - if (!*aURI) return NS_ERROR_OUT_OF_MEMORY; + *aURI = nsCRT::strdup("rdf:ins_domds"); + if (!*aURI) return NS_ERROR_OUT_OF_MEMORY; return NS_OK; }