зеркало из https://github.com/mozilla/pjs.git
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
This commit is contained in:
Родитель
8a6d38f87f
Коммит
ecdd84badc
|
@ -174,7 +174,7 @@ NS_IMPL_RELEASE(nsXMLHttpRequest)
|
|||
/* void addEventListener (in string type, in nsIDOMEventListener
|
||||
listener); */
|
||||
NS_IMETHODIMP
|
||||
nsXMLHttpRequest::AddEventListener(const nsAReadableString& type,
|
||||
nsXMLHttpRequest::AddEventListener(const nsAString& type,
|
||||
nsIDOMEventListener *listener,
|
||||
PRBool useCapture)
|
||||
{
|
||||
|
@ -208,7 +208,7 @@ nsXMLHttpRequest::AddEventListener(const nsAReadableString& type,
|
|||
/* void removeEventListener (in string type, in nsIDOMEventListener
|
||||
listener); */
|
||||
NS_IMETHODIMP
|
||||
nsXMLHttpRequest::RemoveEventListener(const nsAReadableString & type,
|
||||
nsXMLHttpRequest::RemoveEventListener(const nsAString & type,
|
||||
nsIDOMEventListener *listener,
|
||||
PRBool useCapture)
|
||||
{
|
||||
|
@ -332,7 +332,7 @@ NS_IMETHODIMP nsXMLHttpRequest::GetResponseXML(nsIDOMDocument **aResponseXML)
|
|||
* from HTTP headers.
|
||||
*/
|
||||
nsresult
|
||||
nsXMLHttpRequest::DetectCharset(nsAWritableString& aCharset)
|
||||
nsXMLHttpRequest::DetectCharset(nsAString& aCharset)
|
||||
{
|
||||
aCharset.Truncate();
|
||||
nsresult rv;
|
||||
|
|
|
@ -112,7 +112,7 @@ protected:
|
|||
nsresult GetStreamForWString(const PRUnichar* aStr,
|
||||
PRInt32 aLength,
|
||||
nsIInputStream** aStream);
|
||||
nsresult DetectCharset(nsAWritableString& aCharset);
|
||||
nsresult DetectCharset(nsAString& aCharset);
|
||||
nsresult ConvertBodyToText(PRUnichar **aOutBuffer);
|
||||
static NS_METHOD StreamReaderFunc(nsIInputStream* in,
|
||||
void* closure,
|
||||
|
|
Загрузка…
Ссылка в новой задаче