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

Unified Diff: third_party/WebKit/Source/core/events/PromiseRejectionEvent.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/events/PromiseRejectionEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp
index 7653df1fa8c4d87f9ca2cbb81227c3c4e7878e0a..33ec9d0d358c2e9aaa73dd5f05324ccc13f94d82 100644
--- a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp
+++ b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp
@@ -16,7 +16,6 @@ PromiseRejectionEvent::PromiseRejectionEvent(
m_world(state->world()),
m_promise(this),
m_reason(this) {
- ThreadState::current()->registerPreFinalizer(this);
DCHECK(initializer.hasPromise());
m_promise.set(initializer.promise().isolate(),
initializer.promise().v8Value());
« no previous file with comments | « third_party/WebKit/Source/core/dom/PendingScript.cpp ('k') | third_party/WebKit/Source/core/fetch/MockResourceClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698