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

Unified Diff: Source/platform/mediastream/MediaStreamCenter.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/mediastream/MediaStreamCenter.cpp
diff --git a/Source/platform/mediastream/MediaStreamCenter.cpp b/Source/platform/mediastream/MediaStreamCenter.cpp
index ccbd1c73517b067b09978fd5272db49dc506caff..3dc090432f7e2b4ecd7e9f0f90205222f93cf758 100644
--- a/Source/platform/mediastream/MediaStreamCenter.cpp
+++ b/Source/platform/mediastream/MediaStreamCenter.cpp
@@ -133,10 +133,8 @@ void MediaStreamCenter::didCreateMediaStreamTrack(MediaStreamComponent* track)
PassOwnPtr<AudioSourceProvider> MediaStreamCenter::createWebAudioSourceFromMediaStreamTrack(MediaStreamComponent* track)
{
ASSERT_UNUSED(track, track);
-#if ENABLE(WEB_AUDIO)
if (m_private)
return MediaStreamWebAudioSource::create(adoptPtr(m_private->createWebAudioSourceFromMediaStreamTrack(track)));
-#endif
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698