Backed out changeset 77af189b5c49 (bug 1373984) for build bustage in nsHtml5Parser.cpp a=backout CLOSED TREE
MozReview-Commit-ID: 6kBmU71j2To
This commit is contained in:
@@ -228,7 +228,8 @@ ScriptLoadHandler::EnsureDecoder(nsIIncrementalStreamLoader* aLoader,
|
||||
|
||||
// Get the charset from the charset of the document.
|
||||
if (mScriptLoader->mDocument) {
|
||||
encoding = mScriptLoader->mDocument->GetDocumentCharacterSet();
|
||||
encoding =
|
||||
Encoding::ForName(mScriptLoader->mDocument->GetDocumentCharacterSet());
|
||||
mDecoder = encoding->NewDecoderWithoutBOMHandling();
|
||||
encoding->Name(oCharset);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user