| Index: WebCore/dom/XMLDocumentParserQt.cpp
|
| ===================================================================
|
| --- WebCore/dom/XMLDocumentParserQt.cpp (revision 69799)
|
| +++ WebCore/dom/XMLDocumentParserQt.cpp (working copy)
|
| @@ -199,7 +199,7 @@
|
|
|
| void XMLDocumentParser::initializeParserContext(const char*)
|
| {
|
| - DocumentParser::startParsing();
|
| + m_parserStopped = false;
|
| m_sawError = false;
|
| m_sawXSLTransform = false;
|
| m_sawFirstElement = false;
|
| @@ -213,7 +213,7 @@
|
| document()->setParsing(false); // Make the doc think it's done, so it will apply xsl sheets.
|
| document()->styleSelectorChanged(RecalcStyleImmediately);
|
| document()->setParsing(true);
|
| - DocumentParser::stopParsing();
|
| + m_parserStopped = true;
|
| }
|
| #endif
|
|
|
| @@ -350,7 +350,7 @@
|
|
|
| void XMLDocumentParser::parse()
|
| {
|
| - while (!isStopped() && !m_parserPaused && !m_stream.atEnd()) {
|
| + while (!m_parserStopped && !m_parserPaused && !m_stream.atEnd()) {
|
| m_stream.readNext();
|
| switch (m_stream.tokenType()) {
|
| case QXmlStreamReader::StartDocument: {
|
|
|