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

Unified Diff: third_party/WebKit/Source/modules/mediasource/SourceBuffer.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/mediasource/SourceBuffer.cpp
diff --git a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp
index f2edacaec5b6c028d2dc1f941fd6b8f1e47bdf84..6979fa7157f6ae7603d66874732163b9b24b8885 100644
--- a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp
+++ b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp
@@ -142,7 +142,6 @@ SourceBuffer::SourceBuffer(std::unique_ptr<WebSourceBuffer> webSourceBuffer,
DCHECK(m_webSourceBuffer);
DCHECK(m_source);
DCHECK(m_source->mediaElement());
- ThreadState::current()->registerPreFinalizer(this);
m_audioTracks = AudioTrackList::create(*m_source->mediaElement());
m_videoTracks = VideoTrackList::create(*m_source->mediaElement());
m_webSourceBuffer->setClient(this);

Powered by Google App Engine
This is Rietveld 408576698