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
This commit is contained in:
parent
ebcd46ea01
commit
e7b205c3f1
@ -1828,7 +1828,7 @@ NS_METHOD nsDocumentBindInfo::OnStatus(nsIURL* aURL, const PRUnichar* aMsg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Pass the notification out to any observers... */
|
/* Pass the notification out to any observers... */
|
||||||
nsAutoString msgStr(aMsg);
|
nsString msgStr(aMsg);
|
||||||
m_DocLoader->FireOnStatusURLLoad(aURL, msgStr);
|
m_DocLoader->FireOnStatusURLLoad(aURL, msgStr);
|
||||||
|
|
||||||
/* Pass the notification out to the Observer... */
|
/* 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... */
|
/* Pass the notification out to any observers... */
|
||||||
nsAutoString msgStr(aMsg);
|
nsString msgStr(aMsg);
|
||||||
m_DocLoader->FireOnStatusURLLoad(aURL, msgStr);
|
m_DocLoader->FireOnStatusURLLoad(aURL, msgStr);
|
||||||
|
|
||||||
/* Pass the notification out to the Observer... */
|
/* Pass the notification out to the Observer... */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user