зеркало из https://github.com/mozilla/gecko-dev.git
last bit in activating charset override
This commit is contained in:
Родитель
eaf963e925
Коммит
571ffe6149
|
@ -401,7 +401,10 @@ nsXMLDocument::StartDocumentLoad(const char* aCommand,
|
|||
{
|
||||
PRUnichar* forceCharsetFromWebShell = NULL;
|
||||
if (muCV) {
|
||||
rv = muCV->GetForceCharacterSet(&forceCharsetFromWebShell);
|
||||
rv = muCV->GetForceCharacterSet(&forceCharsetFromWebShell);
|
||||
if ((NULL != forceCharsetFromWebShell) && (0 != forceCharsetFromWebShell[0])) {
|
||||
muCV->SetForceCharacterSet(NULL);
|
||||
}
|
||||
}
|
||||
if(NS_SUCCEEDED(rv) && (nsnull != forceCharsetFromWebShell))
|
||||
{
|
||||
|
|
|
@ -401,7 +401,10 @@ nsXMLDocument::StartDocumentLoad(const char* aCommand,
|
|||
{
|
||||
PRUnichar* forceCharsetFromWebShell = NULL;
|
||||
if (muCV) {
|
||||
rv = muCV->GetForceCharacterSet(&forceCharsetFromWebShell);
|
||||
rv = muCV->GetForceCharacterSet(&forceCharsetFromWebShell);
|
||||
if ((NULL != forceCharsetFromWebShell) && (0 != forceCharsetFromWebShell[0])) {
|
||||
muCV->SetForceCharacterSet(NULL);
|
||||
}
|
||||
}
|
||||
if(NS_SUCCEEDED(rv) && (nsnull != forceCharsetFromWebShell))
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче