Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: WebCore/dom/XMLDocumentParserQt.cpp

Issue 3776004: Revert 66670 - 2010-09-01 Tony Gentilcore <tonyg@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « WebCore/dom/XMLDocumentParserLibxml2.cpp ('k') | WebCore/html/parser/HTMLDocumentParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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: {
« no previous file with comments | « WebCore/dom/XMLDocumentParserLibxml2.cpp ('k') | WebCore/html/parser/HTMLDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698