Bug 548232 - Make meta charset not have an effect on document.open()ed documents in the HTML5 parser (reverting most of bug 539887). r=bzbarsky.

This commit is contained in:
Henri Sivonen
2010-04-16 13:52:06 +03:00
parent 9f1426c660
commit 4d410f2cc6
22 changed files with 24 additions and 135 deletions

View File

@@ -46,7 +46,6 @@
#include "nsHtml5ByteReadable.h"
#include "nsIUnicodeDecoder.h"
#include "nsAHtml5TreeBuilderState.h"
#include "nsAHtml5EncodingDeclarationHandler.h"
#include "nsHtml5TreeBuilder.h"
#include "nsHtml5MetaScanner.h"
@@ -3925,7 +3924,7 @@ nsHtml5Tokenizer::initializeWithoutStarting()
}
void
nsHtml5Tokenizer::setEncodingDeclarationHandler(nsAHtml5EncodingDeclarationHandler* encodingDeclarationHandler)
nsHtml5Tokenizer::setEncodingDeclarationHandler(nsHtml5StreamParser* encodingDeclarationHandler)
{
this->encodingDeclarationHandler = encodingDeclarationHandler;
}