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

Unified Diff: third_party/WebKit/Source/core/dom/PendingScript.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/dom/PendingScript.cpp
diff --git a/third_party/WebKit/Source/core/dom/PendingScript.cpp b/third_party/WebKit/Source/core/dom/PendingScript.cpp
index 954ea06e14a993e0195462334a22788cae6ad43d..162bb813a4da7e00a14a7d059dbc6dd3e205452f 100644
--- a/third_party/WebKit/Source/core/dom/PendingScript.cpp
+++ b/third_party/WebKit/Source/core/dom/PendingScript.cpp
@@ -45,7 +45,6 @@ PendingScript::PendingScript(Element* element, ScriptResource* resource)
m_parserBlockingLoadStartTime(0),
m_client(nullptr) {
setScriptResource(resource);
- ThreadState::current()->registerPreFinalizer(this);
MemoryCoordinator::instance().registerClient(this);
}

Powered by Google App Engine
This is Rietveld 408576698