Bug 539887 - Make document.written meta charset affect the charset of document.opened documents in the HTML5 parser. r=bnewman.
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#include "nsHtml5ByteReadable.h"
|
||||
#include "nsIUnicodeDecoder.h"
|
||||
#include "nsAHtml5TreeBuilderState.h"
|
||||
#include "nsAHtml5EncodingDeclarationHandler.h"
|
||||
|
||||
#include "nsHtml5TreeBuilder.h"
|
||||
#include "nsHtml5MetaScanner.h"
|
||||
@@ -3976,7 +3977,7 @@ nsHtml5Tokenizer::initializeWithoutStarting()
|
||||
}
|
||||
|
||||
void
|
||||
nsHtml5Tokenizer::setEncodingDeclarationHandler(nsHtml5StreamParser* encodingDeclarationHandler)
|
||||
nsHtml5Tokenizer::setEncodingDeclarationHandler(nsAHtml5EncodingDeclarationHandler* encodingDeclarationHandler)
|
||||
{
|
||||
this->encodingDeclarationHandler = encodingDeclarationHandler;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user