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

Unified Diff: third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.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/platform/mediastream/MediaStreamComponent.cpp
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.cpp b/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.cpp
index 22b8da285c2a1a1c8f3ca569c31fb6bc3c9a1e7d..a7975be598da3e4518efdb47976bdc3cd5280cff 100644
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.cpp
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.cpp
@@ -58,7 +58,6 @@ MediaStreamComponent::MediaStreamComponent(const String& id,
bool muted)
: m_source(source), m_id(id), m_enabled(enabled), m_muted(muted) {
DCHECK(m_id.length());
- ThreadState::current()->registerPreFinalizer(this);
}
MediaStreamComponent* MediaStreamComponent::clone() const {

Powered by Google App Engine
This is Rietveld 408576698