Index: third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp |
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp b/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp |
index da4b301ee37423105f552f9fc934d130b04c7792..79485a8d4989a5457b2b396d089fd757a61b617a 100644 |
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp |
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp |
@@ -51,13 +51,6 @@ MediaStreamSource::MediaStreamSource(const String& id, |
m_readyState(readyState), |
m_requiresConsumer(requiresConsumer) {} |
-MediaStreamSource::~MediaStreamSource() { |
- // Verify that the audio thread isn't consuming audio. |
- // TODO(sof): remove once crbug.com/682945 has been diagnosed. |
- MutexTryLocker tryLocker(m_audioConsumersLock); |
- CHECK(tryLocker.locked()); |
-} |
- |
void MediaStreamSource::setReadyState(ReadyState readyState) { |
if (m_readyState != ReadyStateEnded && m_readyState != readyState) { |
m_readyState = readyState; |