зеркало из https://github.com/mozilla/gecko-dev.git
Fix build bustage.
This commit is contained in:
Родитель
a6886297ea
Коммит
323fb9085e
|
@ -4221,7 +4221,8 @@ nsXULDocument::PrepareToLoadPrototype(nsIURI* aURI, const char* aCommand,
|
||||||
parser->SetCommand(nsCRT::strcmp(aCommand, "view-source") ? eViewNormal :
|
parser->SetCommand(nsCRT::strcmp(aCommand, "view-source") ? eViewNormal :
|
||||||
eViewSource);
|
eViewSource);
|
||||||
|
|
||||||
parser->SetDocumentCharset(NS_ConvertASCIItoUCS2("UTF-8"), kCharsetFromDocTypeDefault);
|
nsAutoString charset(NS_ConvertASCIItoUCS2("UTF-8"));
|
||||||
|
parser->SetDocumentCharset(charset, kCharsetFromDocTypeDefault);
|
||||||
parser->SetContentSink(sink); // grabs a reference to the parser
|
parser->SetContentSink(sink); // grabs a reference to the parser
|
||||||
|
|
||||||
*aResult = parser;
|
*aResult = parser;
|
||||||
|
|
|
@ -903,7 +903,8 @@ RDFXMLDataSourceImpl::Refresh(PRBool aBlocking)
|
||||||
getter_AddRefs(parser));
|
getter_AddRefs(parser));
|
||||||
if (NS_FAILED(rv)) return rv;
|
if (NS_FAILED(rv)) return rv;
|
||||||
|
|
||||||
parser->SetDocumentCharset(NS_ConvertASCIItoUCS2("UTF-8"), kCharsetFromDocTypeDefault);
|
nsAutoString charset(NS_ConvertASCIItoUCS2("UTF-8"));
|
||||||
|
parser->SetDocumentCharset(charset, kCharsetFromDocTypeDefault);
|
||||||
parser->SetContentSink(sink);
|
parser->SetContentSink(sink);
|
||||||
|
|
||||||
rv = parser->QueryInterface(NS_GET_IID(nsIStreamListener), getter_AddRefs(mParser));
|
rv = parser->QueryInterface(NS_GET_IID(nsIStreamListener), getter_AddRefs(mParser));
|
||||||
|
|
|
@ -4221,7 +4221,8 @@ nsXULDocument::PrepareToLoadPrototype(nsIURI* aURI, const char* aCommand,
|
||||||
parser->SetCommand(nsCRT::strcmp(aCommand, "view-source") ? eViewNormal :
|
parser->SetCommand(nsCRT::strcmp(aCommand, "view-source") ? eViewNormal :
|
||||||
eViewSource);
|
eViewSource);
|
||||||
|
|
||||||
parser->SetDocumentCharset(NS_ConvertASCIItoUCS2("UTF-8"), kCharsetFromDocTypeDefault);
|
nsAutoString charset(NS_ConvertASCIItoUCS2("UTF-8"));
|
||||||
|
parser->SetDocumentCharset(charset, kCharsetFromDocTypeDefault);
|
||||||
parser->SetContentSink(sink); // grabs a reference to the parser
|
parser->SetContentSink(sink); // grabs a reference to the parser
|
||||||
|
|
||||||
*aResult = parser;
|
*aResult = parser;
|
||||||
|
|
|
@ -1149,7 +1149,8 @@ NS_IMETHODIMP nsXULKeyListenerImpl::LoadKeyBindingDocument(nsIURI* aURI, nsIDOMX
|
||||||
|
|
||||||
parser->SetCommand(eViewNormal);
|
parser->SetCommand(eViewNormal);
|
||||||
|
|
||||||
parser->SetDocumentCharset(NS_ConvertASCIItoUCS2("UTF-8"), kCharsetFromDocTypeDefault);
|
nsAutoString charset(NS_ConvertASCIItoUCS2("UTF-8"));
|
||||||
|
parser->SetDocumentCharset(charset, kCharsetFromDocTypeDefault);
|
||||||
parser->SetContentSink(sink); // grabs a reference to the parser
|
parser->SetContentSink(sink); // grabs a reference to the parser
|
||||||
|
|
||||||
// Now do a blocking synchronous parse of the file.
|
// Now do a blocking synchronous parse of the file.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче