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

Unified Diff: third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.h

Issue 1557363002: Remove the WEB_AUDIO compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.h
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.h b/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.h
index a07dff052a9d0a1b9d6dbf90eddb66fb1e7797d9..8a7824c5844326919f65f0af41f5060b4a0475ba 100644
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.h
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.h
@@ -68,11 +68,8 @@ public:
void setEnabled(bool enabled) { m_enabled = enabled; }
bool muted() const { return m_muted; }
void setMuted(bool muted) { m_muted = 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 = std::move(extraData); }
@@ -82,7 +79,6 @@ public:
private:
MediaStreamComponent(const String& id, MediaStreamSource*);
-#if ENABLE(WEB_AUDIO)
// AudioSourceProviderImpl wraps a WebAudioSourceProvider::provideInput()
// calls into chromium to get a rendered audio stream.
@@ -107,8 +103,6 @@ private:
};
AudioSourceProviderImpl m_sourceProvider;
-#endif // ENABLE(WEB_AUDIO)
-
Member<MediaStreamSource> m_source;
String m_id;
bool m_enabled;

Powered by Google App Engine
This is Rietveld 408576698