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

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

Issue 2570463005: Retire ThreadState::registerPreFinalizer<T>() (Closed)
Patch Set: Created 4 years 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: 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 5008dc1ee45babeca652492feb59856356347117..803d900df791f24afaee9a222562565df89eef25 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.cpp
@@ -158,7 +158,6 @@ HTMLParserScriptRunner::HTMLParserScriptRunner(
m_host(host),
m_parserBlockingScript(PendingScript::create(nullptr, nullptr)) {
DCHECK(m_host);
- ThreadState::current()->registerPreFinalizer(this);
}
HTMLParserScriptRunner::~HTMLParserScriptRunner() {

Powered by Google App Engine
This is Rietveld 408576698