Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.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.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp
index 033446a2de3e30f43ade524944f3f681a4893754..ac1060fdeca75cb72f470527ad33d06e73840b73 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp
@@ -92,7 +92,6 @@ RTCDataChannel::RTCDataChannel(
m_scheduledEventTimer(this, &RTCDataChannel::scheduledEventTimerFired),
m_bufferedAmountLowThreshold(0U),
m_stopped(false) {
- ThreadState::current()->registerPreFinalizer(this);
m_handler->setClient(this);
}

Powered by Google App Engine