| Index: Source/core/xml/parser/XMLDocumentParser.cpp
|
| diff --git a/Source/core/xml/parser/XMLDocumentParser.cpp b/Source/core/xml/parser/XMLDocumentParser.cpp
|
| index 440ed60ad624b4c70cea137e1082009063cae99a..3b96e421802a1a1f211c09911a00a5f9c7759704 100644
|
| --- a/Source/core/xml/parser/XMLDocumentParser.cpp
|
| +++ b/Source/core/xml/parser/XMLDocumentParser.cpp
|
| @@ -885,7 +885,7 @@ void XMLDocumentParser::doWrite(const String& parseString)
|
| }
|
|
|
| // FIXME: Why is this here? And why is it after we process the passed source?
|
| - if (document()->decoder() && document()->decoder()->sawError()) {
|
| + if (document()->sawDecodingError()) {
|
| // If the decoder saw an error, report it as fatal (stops parsing)
|
| TextPosition position(OrdinalNumber::fromOneBasedInt(context->context()->input->line), OrdinalNumber::fromOneBasedInt(context->context()->input->col));
|
| handleError(XMLErrors::fatal, "Encoding error", position);
|
|
|