From 98699dcf00400ff56fd78f46d1d656ffa0b8a8d9 Mon Sep 17 00:00:00 2001 From: "pavlov%netscape.com" Date: Sun, 24 Oct 1999 09:20:49 +0000 Subject: [PATCH] fix build problems on linux r=hyatt --- chrome/src/nsChromeRegistry.cpp | 3 ++- rdf/chrome/src/nsChromeRegistry.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/chrome/src/nsChromeRegistry.cpp b/chrome/src/nsChromeRegistry.cpp index dd3c537cfc5..33437f69753 100644 --- a/chrome/src/nsChromeRegistry.cpp +++ b/chrome/src/nsChromeRegistry.cpp @@ -250,7 +250,8 @@ nsChromeRegistry::ConvertChromeURL(nsIURI* aChromeURL) nsCOMPtr dataSource; - InitializeDataSource(nsAutoString(package), nsAutoString(provider), getter_AddRefs(dataSource)); + nsString packageStr(package), providerStr(provider); + InitializeDataSource(packageStr, providerStr, getter_AddRefs(dataSource)); rv = GetChromeResource(dataSource, name, chromeResource, kCHROME_name); diff --git a/rdf/chrome/src/nsChromeRegistry.cpp b/rdf/chrome/src/nsChromeRegistry.cpp index dd3c537cfc5..33437f69753 100644 --- a/rdf/chrome/src/nsChromeRegistry.cpp +++ b/rdf/chrome/src/nsChromeRegistry.cpp @@ -250,7 +250,8 @@ nsChromeRegistry::ConvertChromeURL(nsIURI* aChromeURL) nsCOMPtr dataSource; - InitializeDataSource(nsAutoString(package), nsAutoString(provider), getter_AddRefs(dataSource)); + nsString packageStr(package), providerStr(provider); + InitializeDataSource(packageStr, providerStr, getter_AddRefs(dataSource)); rv = GetChromeResource(dataSource, name, chromeResource, kCHROME_name);