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

Unified Diff: third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.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/modules/fetch/BlobBytesConsumer.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.cpp b/third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.cpp
index ee586c0253242c7113c9b2fe9329df08afa18f6c..68cdbbf2804ce43cb4b903ba0533d748ad719fc7 100644
--- a/third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.cpp
+++ b/third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.cpp
@@ -23,7 +23,6 @@ BlobBytesConsumer::BlobBytesConsumer(ExecutionContext* executionContext,
: ContextLifecycleObserver(executionContext),
m_blobDataHandle(blobDataHandle),
m_loader(loader) {
- ThreadState::current()->registerPreFinalizer(this);
if (!m_blobDataHandle) {
// Note that |m_loader| is non-null only in tests.
if (m_loader) {

Powered by Google App Engine
This is Rietveld 408576698