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

Unified Diff: Source/platform/exported/WebMediaStreamTrack.cpp

Issue 604753003: Removing #ifdefs for WEB_AUDIO compile time flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
Index: Source/platform/exported/WebMediaStreamTrack.cpp
diff --git a/Source/platform/exported/WebMediaStreamTrack.cpp b/Source/platform/exported/WebMediaStreamTrack.cpp
index 4b7b3ac35f83510b8a11e9e408a1ee0b3b49797d..f0348a9cabf4d7880ead9da3e6949be84e849db3 100644
--- a/Source/platform/exported/WebMediaStreamTrack.cpp
+++ b/Source/platform/exported/WebMediaStreamTrack.cpp
@@ -140,10 +140,8 @@ void WebMediaStreamTrack::setExtraData(ExtraData* extraData)
void WebMediaStreamTrack::setSourceProvider(WebAudioSourceProvider* provider)
{
-#if ENABLE(WEB_AUDIO)
ASSERT(!m_private.isNull());
m_private->setSourceProvider(provider);
-#endif // ENABLE(WEB_AUDIO)
}
void WebMediaStreamTrack::assign(const WebMediaStreamTrack& other)

Powered by Google App Engine
This is Rietveld 408576698