Index: third_party/WebKit/Source/platform/mediastream/MediaStreamCenter.cpp |
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamCenter.cpp b/third_party/WebKit/Source/platform/mediastream/MediaStreamCenter.cpp |
index 910de87adbdd082ca0f07398e66e3c919aaae2e8..0515d2a1caee7265b950db5e090050f7092458c6 100644 |
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamCenter.cpp |
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamCenter.cpp |
@@ -125,10 +125,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; |
} |