зеркало из https://github.com/mozilla/pjs.git
use nsString instead of of nsAutoString, since that is what the function takes
This commit is contained in:
Родитель
e4fe9bfa0d
Коммит
8ffc8ea5bd
|
@ -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... */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче