| Index: Source/core/xml/parser/XMLDocumentParser.cpp
|
| diff --git a/Source/core/xml/parser/XMLDocumentParser.cpp b/Source/core/xml/parser/XMLDocumentParser.cpp
|
| index fafc5dda08e2fe6ca917686493df8b3c2f02eee8..f3a231dc288f4ce26c0e3ce8e17c0eac853f03d9 100644
|
| --- a/Source/core/xml/parser/XMLDocumentParser.cpp
|
| +++ b/Source/core/xml/parser/XMLDocumentParser.cpp
|
| @@ -874,7 +874,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);
|
|
|