mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
use nsString instead of of nsAutoString, since that is what the function takes
This commit is contained in:
parent
ff7b829d31
commit
355c7fad39
@ -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... */
|
||||
|
@ -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... */
|
||||
|
Loading…
Reference in New Issue
Block a user