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; |
} |