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

Unified Diff: third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp

Issue 2765073004: Revert of MediaStreamSource: verify unlocked state when finalizing. (Closed)
Patch Set: rebased upto r458724 Created 3 years, 9 months 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
« no previous file with comments | « third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698