From e7b205c3f18f82bbb9964dc09a91b7c19337e7a5 Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Wed, 31 Mar 1999 19:08:53 +0000 Subject: [PATCH] use nsString instead of of nsAutoString, since that is what the function takes git-svn-id: svn://10.0.0.236/trunk@25710 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/uriloader/base/nsDocLoader.cpp | 2 +- mozilla/webshell/src/nsDocLoader.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/uriloader/base/nsDocLoader.cpp b/mozilla/uriloader/base/nsDocLoader.cpp index 2da9917752b..28b98ef47a2 100644 --- a/mozilla/uriloader/base/nsDocLoader.cpp +++ b/mozilla/uriloader/base/nsDocLoader.cpp @@ -1828,7 +1828,7 @@ NS_METHOD nsDocumentBindInfo::OnStatus(nsIURL* aURL, const PRUnichar* aMsg) } /* Pass the notification out to any observers... */ - nsAutoString msgStr(aMsg); + nsString msgStr(aMsg); m_DocLoader->FireOnStatusURLLoad(aURL, msgStr); /* Pass the notification out to the Observer... */ diff --git a/mozilla/webshell/src/nsDocLoader.cpp b/mozilla/webshell/src/nsDocLoader.cpp index 2da9917752b..28b98ef47a2 100644 --- a/mozilla/webshell/src/nsDocLoader.cpp +++ b/mozilla/webshell/src/nsDocLoader.cpp @@ -1828,7 +1828,7 @@ NS_METHOD nsDocumentBindInfo::OnStatus(nsIURL* aURL, const PRUnichar* aMsg) } /* Pass the notification out to any observers... */ - nsAutoString msgStr(aMsg); + nsString msgStr(aMsg); m_DocLoader->FireOnStatusURLLoad(aURL, msgStr); /* Pass the notification out to the Observer... */