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

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

Issue 1557363002: Remove the WEB_AUDIO compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp b/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp
index 5156f5dc708a1b2d389ece03bb46ab68c4e2a5a4..2fec96604e83b9297c66212ab3f8f948ed1d4110 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp
@@ -118,11 +118,8 @@ void WebMediaStreamTrack::setExtraData(ExtraData* extraData)
}
void WebMediaStreamTrack::setSourceProvider(WebAudioSourceProvider* provider)
-{
-#if ENABLE(WEB_AUDIO)
- ASSERT(!m_private.isNull());
+{ 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