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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp

Issue 2837363003: 2. Remove HTMLParserScriptRunner's prefinalizer (Closed)
Patch Set: Rebase Created 3 years, 8 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 | « third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp b/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp
index 6836584ed6276ec7f659f655abe8dc6a542f2b73..316d1a89c0c6b49707a816f7a86885595f559cc4 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp
@@ -162,10 +162,7 @@ HTMLParserScriptRunner::HTMLParserScriptRunner(
DCHECK(host_);
}
-HTMLParserScriptRunner::~HTMLParserScriptRunner() {
- // Verify that detach() has been called.
- DCHECK(!document_);
-}
+HTMLParserScriptRunner::~HTMLParserScriptRunner() {}
void HTMLParserScriptRunner::Detach() {
if (!document_)
« no previous file with comments | « third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698