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 fc61113a5cba92ad813087ba837c52cc9ed08977..d1e16cab0c2fb2beac6219218565f332b769acae 100644 |
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.cpp |
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.cpp |
@@ -56,6 +56,7 @@ MediaStreamComponent::MediaStreamComponent(const String& id, MediaStreamSource* |
, m_muted(false) |
{ |
ASSERT(m_id.length()); |
+ ThreadState::current()->registerPreFinalizer(this); |
} |
void MediaStreamComponent::dispose() |