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

Unified Diff: sky/engine/core/dom/DocumentParser.cpp

Issue 712423002: Simplify some parsing-related code (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
Index: sky/engine/core/dom/DocumentParser.cpp
diff --git a/sky/engine/core/dom/DocumentParser.cpp b/sky/engine/core/dom/DocumentParser.cpp
index efd9013f3e32dbc605db812baeff3cf336818317..d4a460f68d5eeb1bcb030c9c9a74cbcbfd3ae541 100644
--- a/sky/engine/core/dom/DocumentParser.cpp
+++ b/sky/engine/core/dom/DocumentParser.cpp
@@ -41,17 +41,10 @@ DocumentParser::DocumentParser(Document* document)
DocumentParser::~DocumentParser()
{
-#if !ENABLE(OILPAN)
// Document is expected to call detach() before releasing its ref.
// This ASSERT is slightly awkward for parsers with a fragment case
// as there is no Document to release the ref.
ASSERT(!m_document);
-#endif
-}
-
-void DocumentParser::trace(Visitor* visitor)
-{
- visitor->trace(m_document);
}
void DocumentParser::prepareToStopParsing()

Powered by Google App Engine
This is Rietveld 408576698