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

Unified Diff: WebCore/dom/DocumentParser.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/DocumentParser.h ('k') | WebCore/dom/RawDataDocumentParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/dom/DocumentParser.cpp
===================================================================
--- WebCore/dom/DocumentParser.cpp (revision 69799)
+++ WebCore/dom/DocumentParser.cpp (working copy)
@@ -31,7 +31,7 @@
namespace WebCore {
DocumentParser::DocumentParser(Document* document)
- : m_state(ParsingState)
+ : m_parserStopped(false)
, m_document(document)
{
ASSERT(document);
@@ -45,25 +45,8 @@
ASSERT(!m_document);
}
-void DocumentParser::startParsing()
-{
- m_state = ParsingState;
-}
-
-void DocumentParser::prepareToStopParsing()
-{
- if (m_state == ParsingState)
- m_state = StoppingState;
-}
-
-void DocumentParser::stopParsing()
-{
- m_state = StoppedState;
-}
-
void DocumentParser::detach()
{
- m_state = DetachedState;
m_document = 0;
}
« no previous file with comments | « WebCore/dom/DocumentParser.h ('k') | WebCore/dom/RawDataDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698