Index: third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp |
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp b/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp |
index 0c74cd30c197f25cd606c8c177727f6f76af4718..d3a042180bd570570c46db49ef0741aafc689c96 100644 |
--- a/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp |
+++ b/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp |
@@ -196,7 +196,6 @@ void ConsumerWrapper::setFormat(size_t numberOfChannels, float sampleRate) |
void ConsumerWrapper::consumeAudio(AudioBus* bus, size_t numberOfFrames) |
{ |
-#if ENABLE(WEB_AUDIO) |
if (!bus) |
return; |
@@ -207,7 +206,6 @@ void ConsumerWrapper::consumeAudio(AudioBus* bus, size_t numberOfFrames) |
busVector[i] = bus->channel(i)->data(); |
m_consumer->consumeAudio(busVector, numberOfFrames); |
-#endif |
} |
void WebMediaStreamSource::addAudioConsumer(WebAudioDestinationConsumer* consumer) |