Index: Source/platform/mediastream/MediaStreamComponent.h |
diff --git a/Source/platform/mediastream/MediaStreamComponent.h b/Source/platform/mediastream/MediaStreamComponent.h |
index 084c623494f8fce967f1d1b6faa3e1375ce74bbd..0b4d970c6780ea45188f179bf17b3a2a7849b646 100644 |
--- a/Source/platform/mediastream/MediaStreamComponent.h |
+++ b/Source/platform/mediastream/MediaStreamComponent.h |
@@ -61,10 +61,8 @@ public: |
void setEnabled(bool enabled) { m_enabled = enabled; } |
bool muted() const { return m_muted; } |
-#if ENABLE(WEB_AUDIO) |
AudioSourceProvider* audioSourceProvider() { return &m_sourceProvider; } |
void setSourceProvider(WebAudioSourceProvider* provider) { m_sourceProvider.wrap(provider); } |
-#endif // ENABLE(WEB_AUDIO) |
ExtraData* extraData() const { return m_extraData.get(); } |
void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData; } |
@@ -72,7 +70,6 @@ public: |
private: |
MediaStreamComponent(const String& id, PassRefPtr<MediaStreamSource>); |
-#if ENABLE(WEB_AUDIO) |
// AudioSourceProviderImpl wraps a WebAudioSourceProvider::provideInput() |
// calls into chromium to get a rendered audio stream. |
@@ -97,7 +94,6 @@ private: |
}; |
AudioSourceProviderImpl m_sourceProvider; |
-#endif // ENABLE(WEB_AUDIO) |
RefPtr<MediaStreamSource> m_source; |
String m_id; |