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

Unified Diff: Source/platform/mediastream/MediaStreamComponent.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/MediaStreamComponent.cpp
diff --git a/Source/platform/mediastream/MediaStreamComponent.cpp b/Source/platform/mediastream/MediaStreamComponent.cpp
index 43bc57d0c4d4148621eedb36f73676f052e7c74a..401db5f5eea865256211a17309ca408e5908f278 100644
--- a/Source/platform/mediastream/MediaStreamComponent.cpp
+++ b/Source/platform/mediastream/MediaStreamComponent.cpp
@@ -59,7 +59,6 @@ MediaStreamComponent::MediaStreamComponent(const String& id, PassRefPtr<MediaStr
ASSERT(m_id.length());
}
-#if ENABLE(WEB_AUDIO)
void MediaStreamComponent::AudioSourceProviderImpl::wrap(blink::WebAudioSourceProvider* provider)
{
MutexLocker locker(m_provideInputLock);
@@ -86,7 +85,6 @@ void MediaStreamComponent::AudioSourceProviderImpl::provideInput(AudioBus* bus,
m_webAudioSourceProvider->provideInput(webAudioData, framesToProcess);
}
-#endif // #if ENABLE(WEB_AUDIO)
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698